mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 12:06:16 +08:00
Fix notification isRead value not being updated in API update response (#1635)
This commit is contained in:
parent
ac63665f8b
commit
8250584ba7
|
@ -39,7 +39,7 @@ class ReadNotificationHandler
|
||||||
])
|
])
|
||||||
->update(['read_at' => Carbon::now()]);
|
->update(['read_at' => Carbon::now()]);
|
||||||
|
|
||||||
$notification->is_read = true;
|
$notification->read_at = Carbon::now();
|
||||||
|
|
||||||
return $notification;
|
return $notification;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user