refactor: create queuable services (#5834)

This commit is contained in:
Alexis Saettler
2022-01-03 17:22:56 +01:00
committed by GitHub
parent dc7ec5fb79
commit d76af0480c
9 changed files with 274 additions and 12 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ class ContactsController extends Controller
'contact_id' => $contact->id,
];
app(DestroyContact::class)->execute($data);
DestroyContact::dispatch($data);
return redirect()->route('people.index')
->with('success', trans('people.people_delete_success'));