(ctx context.Context, value string)
| 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 { |
| 8026 | return err |
| 8027 | } |
| 8028 | return q.db.UpsertChatAdvisorConfig(ctx, value) |
| 8029 | } |
| 8030 | |
| 8031 | func (q *querier) UpsertChatAutoArchiveDays(ctx context.Context, autoArchiveDays int32) error { |
| 8032 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected