Update DeleteAccountPipeline queue

This commit is contained in:
Daniel Supernault 2022-10-31 03:31:38 -06:00
parent 6b92c64851
commit 85794784d4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 3 additions and 3 deletions

View file

@ -290,7 +290,7 @@ trait AdminReportController
->save();
Cache::forget('profiles:private');
DeleteAccountPipeline::dispatch($user)->onQueue('high');
DeleteAccountPipeline::dispatch($user);
return;
}

View file

@ -222,7 +222,7 @@ trait AdminUserController
->save();
Cache::forget('profiles:private');
DeleteAccountPipeline::dispatch($user)->onQueue('high');
DeleteAccountPipeline::dispatch($user);
$msg = "Successfully deleted {$user->username}!";
$request->session()->flash('status', $msg);