(ctx context.Context, arg database.DeleteGroupMemberFromGroupParams)
| 2078 | } |
| 2079 | |
| 2080 | func (q *querier) DeleteGroupMemberFromGroup(ctx context.Context, arg database.DeleteGroupMemberFromGroupParams) error { |
| 2081 | // Deleting a group member counts as updating a group. |
| 2082 | fetch := func(ctx context.Context, arg database.DeleteGroupMemberFromGroupParams) (database.Group, error) { |
| 2083 | return q.db.GetGroupByID(ctx, arg.GroupID) |
| 2084 | } |
| 2085 | return update(q.log, q.auth, fetch, q.db.DeleteGroupMemberFromGroup)(ctx, arg) |
| 2086 | } |
| 2087 | |
| 2088 | func (q *querier) DeleteLicense(ctx context.Context, id int32) (int32, error) { |
| 2089 | err := deleteQ(q.log, q.auth, q.db.GetLicenseByID, func(ctx context.Context, id int32) error { |
nothing calls this directly
no test coverage detected