(ctx context.Context, providerID uuid.UUID)
| 2629 | } |
| 2630 | |
| 2631 | func (q *querier) GetAIProviderKeysByProviderID(ctx context.Context, providerID uuid.UUID) ([]database.AIProviderKey, error) { |
| 2632 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAIProvider); err != nil { |
| 2633 | return nil, err |
| 2634 | } |
| 2635 | return q.db.GetAIProviderKeysByProviderID(ctx, providerID) |
| 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 { |
nothing calls this directly
no test coverage detected