]> BookStack Code Mirror - bookstack/blobdiff - app/Access/UserInviteService.php
Queries: Update API to align data with previous versions
[bookstack] / app / Access / UserInviteService.php
index 00e361e827fe973398c77d99548eb32ad7900663..7d955f3851d763c199a0073f05c2d4a3e1366ef7 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace BookStack\Access;
 
-use BookStack\Notifications\UserInvite;
+use BookStack\Access\Notifications\UserInviteNotification;
 use BookStack\Users\Models\User;
 
 class UserInviteService extends UserTokenService
@@ -18,6 +18,6 @@ class UserInviteService extends UserTokenService
     {
         $this->deleteByUser($user);
         $token = $this->createTokenForUser($user);
-        $user->notify(new UserInvite($token));
+        $user->notify(new UserInviteNotification($token));
     }
 }