feat: add Discord facade

This commit is contained in:
2022-08-28 05:46:32 +01:00
parent d58ea51de1
commit c793596a3a
8 changed files with 182 additions and 48 deletions

View File

@@ -41,8 +41,10 @@ class UserObserver
* @param \App\User $user
* @return void
*/
public function created(ProfileService $profileService, User $user)
public function created(User $user)
{
$profileService = new ProfileService();
try
{
$profileService->createProfile($user);