(ctx context.Context, arg database.UpdateGroupByIDParams)
| 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) { |
| 6917 | return q.db.GetGroupByID(ctx, arg.ID) |
| 6918 | } |
| 6919 | return updateWithReturn(q.log, q.auth, fetch, q.db.UpdateGroupByID)(ctx, arg) |
| 6920 | } |
| 6921 | |
| 6922 | func (q *querier) UpdateInactiveUsersToDormant(ctx context.Context, lastSeenAfter database.UpdateInactiveUsersToDormantParams) ([]database.UpdateInactiveUsersToDormantRow, error) { |
| 6923 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected