minor fix

master
Константин 2024-01-19 12:19:22 +03:00
parent 5ac858fcd0
commit 78f97c32a1
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class UsersController extends Controller {
public function destroy(Request $request, $uuid): JsonResponse {
$user = $this->model->byUuid($uuid)->firstOrFail();
$user->delete();
$user->forceDelete();
return response()->json(null, 204);
}
}