fix logic and tests, update docker CI file
This commit is contained in:
@@ -73,7 +73,7 @@ class UserManagementService
|
||||
|
||||
try {
|
||||
DB::transaction(function () use ($userId, $user) {
|
||||
UserRole::query()->where('user_id', $userId)->delete();
|
||||
UserRole::query()->where('user_id', $userId)->forceDelete();
|
||||
$user->delete();
|
||||
});
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user