1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 06:48:38 +09:00

Fix breaking change about format of accounts.created_at (#16186)

This commit is contained in:
rinsuki 2021-05-09 17:39:13 +09:00 committed by GitHub
parent d1442a06c3
commit 4d31cef19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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