diff options
author | rinsuki <428rinsuki+git@gmail.com> | 2021-05-09 17:39:13 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 10:39:13 +0200 |
commit | 4d31cef19db9b719540e07030e5eb6d32b20234a (patch) | |
tree | dfaa671d8533efd6c1438a7a5e085357ab0ecb93 | |
parent | d1442a06c3c9e0a5ab2238ef2bef2cbfae79af7f (diff) |
Fix breaking change about format of accounts.created_at (#16186)
-rw-r--r-- | app/serializers/rest/account_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/account_serializer.rb b/app/serializers/rest/account_serializer.rb index 219f8075a..a78ec4507 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 |