From 7382c3bd86be1fced5b40547e25e113110369db1 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Mar 2023 16:18:16 +0000 Subject: [PATCH] Set the field to "null" --- src/Object/Api/Mastodon/Status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Object/Api/Mastodon/Status.php b/src/Object/Api/Mastodon/Status.php index 8430601f98..0a02a48549 100644 --- a/src/Object/Api/Mastodon/Status.php +++ b/src/Object/Api/Mastodon/Status.php @@ -214,7 +214,7 @@ class Status extends BaseDataTransferObject } if ($status['created_at'] == $status['edited_at']) { - unset($status['edited_at']); + $status['edited_at'] = null; } return $status; -- 2.39.5