Skip to content

Commit 672f5ac

Browse files
committed
fix-more-recursion
1 parent ec7979c commit 672f5ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/authzquery/parameters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func (q *AuthzQuerier) GetParameterValueByScopeAndName(ctx context.Context, arg
138138
return database.ParameterValue{}, err
139139
}
140140

141-
return q.GetParameterValueByScopeAndName(ctx, arg)
141+
return q.database.GetParameterValueByScopeAndName(ctx, arg)
142142
}
143143

144144
func (q *AuthzQuerier) DeleteParameterValueByID(ctx context.Context, id uuid.UUID) error {
@@ -158,5 +158,5 @@ func (q *AuthzQuerier) DeleteParameterValueByID(ctx context.Context, id uuid.UUI
158158
return err
159159
}
160160

161-
return q.DeleteParameterValueByID(ctx, id)
161+
return q.database.DeleteParameterValueByID(ctx, id)
162162
}

0 commit comments

Comments
 (0)