From 4d31cef19db9b719540e07030e5eb6d32b20234a Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Sun, 9 May 2021 17:39:13 +0900 Subject: [PATCH] Fix breaking change about format of accounts.created_at (#16186) --- app/serializers/rest/account_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb index 219f8075ae..a78ec45073 100644 --- a/app/serializers/rest/account_serializer.rb +++ b/app/serializers/rest/account_serializer.rb @@ -56,7 +56,7 @@ class REST::AccountSerializer < ActiveModel::Serializer end def created_at - object.created_at.midnight.iso8601 + object.created_at.midnight.as_json end def last_status_at