From ebeb4710d9c46ab7c4cad5eff812b1e7a345fad5 Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Mon, 25 Dec 2023 07:36:32 +0700 Subject: [PATCH] fix: fix my stupidity Signed-off-by: Fery Wardiyanto --- src/Listeners/RegisterUserDevice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Listeners/RegisterUserDevice.php b/src/Listeners/RegisterUserDevice.php index 9688298..95e6b99 100644 --- a/src/Listeners/RegisterUserDevice.php +++ b/src/Listeners/RegisterUserDevice.php @@ -24,7 +24,7 @@ public function handle(Authenticated $event) $user = $event->user; $device = $user->devices()->firstOrCreate([ - 'device' => $this->request->input('device'), + 'token' => $this->request->input('device'), ]); \event(new UserDeviceRegistered($device));