Browse Source
Fix breaking change about format of accounts.created_at (#16186)
closed-social-v3
rinsuki
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|