(ctx context.Context, providerIDs []uuid.UUID)
| 2636 | } |
| 2637 | |
| 2638 | func (q *querier) GetAIProviderKeysByProviderIDs(ctx context.Context, providerIDs []uuid.UUID) ([]database.AIProviderKey, error) { |
| 2639 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAIProvider); err != nil { |
| 2640 | return nil, err |
| 2641 | } |
| 2642 | return q.db.GetAIProviderKeysByProviderIDs(ctx, providerIDs) |
| 2643 | } |
| 2644 | |
| 2645 | func (q *querier) GetAIProviders(ctx context.Context, arg database.GetAIProvidersParams) ([]database.AIProvider, error) { |
| 2646 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAIProvider); err != nil { |
nothing calls this directly
no test coverage detected