(ctx context.Context, userID uuid.UUID)
| 103 | } |
| 104 | |
| 105 | func (r *userRepo) Delete(ctx context.Context, userID uuid.UUID) (err error) { |
| 106 | ctx, span := otelx.Start(ctx, userRepoTracer, "UserRepo.Delete") |
| 107 | defer span.End() |
| 108 | |
| 109 | return r.data.DB.User.DeleteOneID(userID).Exec(ctx) |
| 110 | } |
| 111 | |
| 112 | // UpdateAccess updates the access restriction for a user |
| 113 | func (r *userRepo) UpdateAccess(ctx context.Context, userID uuid.UUID, isAccessRestricted bool) (*biz.User, error) { |
nothing calls this directly
no test coverage detected