From 8250584ba779e0a7c150092cb10a732e90020712 Mon Sep 17 00:00:00 2001 From: Clark Winkelmann Date: Mon, 12 Nov 2018 00:14:13 +0100 Subject: [PATCH] Fix notification isRead value not being updated in API update response (#1635) --- .../core/src/Notification/Command/ReadNotificationHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Notification/Command/ReadNotificationHandler.php b/framework/core/src/Notification/Command/ReadNotificationHandler.php index f26cb7712..a06817a58 100644 --- a/framework/core/src/Notification/Command/ReadNotificationHandler.php +++ b/framework/core/src/Notification/Command/ReadNotificationHandler.php @@ -39,7 +39,7 @@ class ReadNotificationHandler ]) ->update(['read_at' => Carbon::now()]); - $notification->is_read = true; + $notification->read_at = Carbon::now(); return $notification; }