Fix notification isRead value not being updated in API update response (#1635)

This commit is contained in:
Clark Winkelmann 2018-11-12 00:14:13 +01:00 committed by Franz Liedke
parent ac63665f8b
commit 8250584ba7

View File

@ -39,7 +39,7 @@ class ReadNotificationHandler
])
->update(['read_at' => Carbon::now()]);
$notification->is_read = true;
$notification->read_at = Carbon::now();
return $notification;
}