From 95a316236e3651c27d995fcdc8093ae0d1f96125 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 12 Oct 2024 10:02:26 +0200 Subject: [bugfix] Account.last_status_at is a date, not datetime (#3419) * [bugfix] Account.last_status_at is a date, not datetime Fix #3418 * update swagger --- internal/processing/stream/notification_test.go | 2 +- internal/processing/stream/statusupdate_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/processing') diff --git a/internal/processing/stream/notification_test.go b/internal/processing/stream/notification_test.go index 2e83714fa..1f04d5103 100644 --- a/internal/processing/stream/notification_test.go +++ b/internal/processing/stream/notification_test.go @@ -79,7 +79,7 @@ func (suite *NotificationTestSuite) TestStreamNotification() { "followers_count": 0, "following_count": 0, "statuses_count": 3, - "last_status_at": "2021-09-11T09:40:37.000Z", + "last_status_at": "2021-09-11", "emojis": [], "fields": [] } diff --git a/internal/processing/stream/statusupdate_test.go b/internal/processing/stream/statusupdate_test.go index f6024686b..97e056175 100644 --- a/internal/processing/stream/statusupdate_test.go +++ b/internal/processing/stream/statusupdate_test.go @@ -90,7 +90,7 @@ func (suite *StatusUpdateTestSuite) TestStreamNotification() { "followers_count": 0, "following_count": 0, "statuses_count": 3, - "last_status_at": "2021-09-11T09:40:37.000Z", + "last_status_at": "2021-09-11", "emojis": [], "fields": [] }, -- cgit v1.2.3