mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Fix some incorrect attribute names
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Flarum\Notification\Command;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Flarum\Notification\Notification;
|
||||
use Flarum\User\AssertPermissionTrait;
|
||||
|
||||
@@ -36,7 +37,7 @@ class ReadNotificationHandler
|
||||
'type' => $notification->type,
|
||||
'subject_id' => $notification->subject_id
|
||||
])
|
||||
->update(['is_read' => true]);
|
||||
->update(['read_at' => Carbon::now()]);
|
||||
|
||||
$notification->is_read = true;
|
||||
|
||||
|
Reference in New Issue
Block a user