(ctx context.Context, arg database.UpsertChatUsageLimitUserOverrideParams)
| 8165 | } |
| 8166 | |
| 8167 | func (q *querier) UpsertChatUsageLimitUserOverride(ctx context.Context, arg database.UpsertChatUsageLimitUserOverrideParams) (database.UpsertChatUsageLimitUserOverrideRow, error) { |
| 8168 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 8169 | return database.UpsertChatUsageLimitUserOverrideRow{}, err |
| 8170 | } |
| 8171 | return q.db.UpsertChatUsageLimitUserOverride(ctx, arg) |
| 8172 | } |
| 8173 | |
| 8174 | //nolint:revive // Parameter name matches the generated querier interface. |
| 8175 | func (q *querier) UpsertChatWorkspaceTTL(ctx context.Context, workspaceTtl string) error { |
nothing calls this directly
no test coverage detected