(ctx context.Context, arg database.UpdateGitSSHKeyParams)
| 6906 | } |
| 6907 | |
| 6908 | func (q *querier) UpdateGitSSHKey(ctx context.Context, arg database.UpdateGitSSHKeyParams) (database.GitSSHKey, error) { |
| 6909 | fetch := func(ctx context.Context, arg database.UpdateGitSSHKeyParams) (database.GitSSHKey, error) { |
| 6910 | return q.db.GetGitSSHKey(ctx, arg.UserID) |
| 6911 | } |
| 6912 | return fetchAndQuery(q.log, q.auth, policy.ActionUpdatePersonal, fetch, q.db.UpdateGitSSHKey)(ctx, arg) |
| 6913 | } |
| 6914 | |
| 6915 | func (q *querier) UpdateGroupByID(ctx context.Context, arg database.UpdateGroupByIDParams) (database.Group, error) { |
| 6916 | fetch := func(ctx context.Context, arg database.UpdateGroupByIDParams) (database.Group, error) { |
nothing calls this directly
no test coverage detected