Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix: fix my stupidity
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Dec 25, 2023
1 parent 3f999e9 commit ebeb471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listeners/RegisterUserDevice.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ebeb471

Please sign in to comment.