(ctx context.Context, arg database.UpdateUserSkillByUserIDAndNameParams)
| 7589 | } |
| 7590 | |
| 7591 | func (q *querier) UpdateUserSkillByUserIDAndName(ctx context.Context, arg database.UpdateUserSkillByUserIDAndNameParams) (database.UserSkill, error) { |
| 7592 | obj := rbac.ResourceUserSkill.WithOwner(arg.UserID.String()) |
| 7593 | if err := q.authorizeContext(ctx, policy.ActionUpdate, obj); err != nil { |
| 7594 | return database.UserSkill{}, err |
| 7595 | } |
| 7596 | return q.db.UpdateUserSkillByUserIDAndName(ctx, arg) |
| 7597 | } |
| 7598 | |
| 7599 | func (q *querier) UpdateUserStatus(ctx context.Context, arg database.UpdateUserStatusParams) (database.User, error) { |
| 7600 | fetch := func(ctx context.Context, arg database.UpdateUserStatusParams) (database.User, error) { |
nothing calls this directly
no test coverage detected