(ctx context.Context, params database.UpdateAIBridgeInterceptionEndedParams)
| 6550 | } |
| 6551 | |
| 6552 | func (q *querier) UpdateAIBridgeInterceptionEnded(ctx context.Context, params database.UpdateAIBridgeInterceptionEndedParams) (database.AIBridgeInterception, error) { |
| 6553 | if err := q.authorizeAIBridgeInterceptionAction(ctx, policy.ActionUpdate, params.ID); err != nil { |
| 6554 | return database.AIBridgeInterception{}, err |
| 6555 | } |
| 6556 | return q.db.UpdateAIBridgeInterceptionEnded(ctx, params) |
| 6557 | } |
| 6558 | |
| 6559 | func (q *querier) UpdateAIProvider(ctx context.Context, arg database.UpdateAIProviderParams) (database.AIProvider, error) { |
| 6560 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceAIProvider); err != nil { |
nothing calls this directly
no test coverage detected