(ctx context.Context, arg database.UpsertBoundaryUsageStatsParams)
| 8015 | } |
| 8016 | |
| 8017 | func (q *querier) UpsertBoundaryUsageStats(ctx context.Context, arg database.UpsertBoundaryUsageStatsParams) (bool, error) { |
| 8018 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceBoundaryUsage); err != nil { |
| 8019 | return false, err |
| 8020 | } |
| 8021 | return q.db.UpsertBoundaryUsageStats(ctx, arg) |
| 8022 | } |
| 8023 | |
| 8024 | func (q *querier) UpsertChatAdvisorConfig(ctx context.Context, value string) error { |
| 8025 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected