mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Fix notification isRead value not being updated in API update response (#1635)
This commit is contained in:
committed by
Franz Liedke
parent
f7a320bcca
commit
13c593cbaa
@@ -39,7 +39,7 @@ class ReadNotificationHandler
|
||||
])
|
||||
->update(['read_at' => Carbon::now()]);
|
||||
|
||||
$notification->is_read = true;
|
||||
$notification->read_at = Carbon::now();
|
||||
|
||||
return $notification;
|
||||
}
|
||||
|
Reference in New Issue
Block a user