Reset after deletion

This commit is contained in:
James Cole
2022-12-24 08:44:22 +01:00
parent 63184ac298
commit 5f6c84ab4c
19 changed files with 21 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ class DestroyController extends Controller
public function destroy(Account $account): JsonResponse
{
$this->repository->destroy($account, null);
app('preferences')->mark();
return response()->json([], 204);
}