mirror of https://github.com/mastodon/mastodon
Fix breaking change about format of accounts.created_at (#16186)
This commit is contained in:
parent
d1442a06c3
commit
4d31cef19d
|
@ -56,7 +56,7 @@ class REST::AccountSerializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def created_at
|
def created_at
|
||||||
object.created_at.midnight.iso8601
|
object.created_at.midnight.as_json
|
||||||
end
|
end
|
||||||
|
|
||||||
def last_status_at
|
def last_status_at
|
||||||
|
|
Loading…
Reference in New Issue