(ctx context.Context, id string)
| 2650 | } |
| 2651 | |
| 2652 | func (q *querier) GetAPIKeyByID(ctx context.Context, id string) (database.APIKey, error) { |
| 2653 | return fetch(q.log, q.auth, q.db.GetAPIKeyByID)(ctx, id) |
| 2654 | } |
| 2655 | |
| 2656 | func (q *querier) GetAPIKeyByName(ctx context.Context, arg database.GetAPIKeyByNameParams) (database.APIKey, error) { |
| 2657 | return fetch(q.log, q.auth, q.db.GetAPIKeyByName)(ctx, arg) |