(ctx context.Context, arg database.UpdateAPIKeyByIDParams)
| 6564 | } |
| 6565 | |
| 6566 | func (q *querier) UpdateAPIKeyByID(ctx context.Context, arg database.UpdateAPIKeyByIDParams) error { |
| 6567 | fetch := func(ctx context.Context, arg database.UpdateAPIKeyByIDParams) (database.APIKey, error) { |
| 6568 | return q.db.GetAPIKeyByID(ctx, arg.ID) |
| 6569 | } |
| 6570 | return update(q.log, q.auth, fetch, q.db.UpdateAPIKeyByID)(ctx, arg) |
| 6571 | } |
| 6572 | |
| 6573 | func (q *querier) UpdateChatACLByID(ctx context.Context, arg database.UpdateChatACLByIDParams) error { |
| 6574 | if rbac.ChatACLDisabled() { |
nothing calls this directly
no test coverage detected