(ctx context.Context, arg database.UpsertDefaultProxyParams)
| 8180 | } |
| 8181 | |
| 8182 | func (q *querier) UpsertDefaultProxy(ctx context.Context, arg database.UpsertDefaultProxyParams) error { |
| 8183 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceSystem); err != nil { |
| 8184 | return err |
| 8185 | } |
| 8186 | return q.db.UpsertDefaultProxy(ctx, arg) |
| 8187 | } |
| 8188 | |
| 8189 | func (q *querier) UpsertGroupAIBudget(ctx context.Context, arg database.UpsertGroupAIBudgetParams) (database.GroupAiBudget, error) { |
| 8190 | // Setting a group's AI budget counts as updating the group. |
nothing calls this directly
no test coverage detected