mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 04:55:08 +01:00
Fix breaking change in admin account API (#19176)
* Fix breaking change in admin account API Ensure that `ip` is a String value and not returning a raw database entry * please rubocop
This commit is contained in:
parent
0aacf00f5b
commit
526b4b3677
@ -77,6 +77,6 @@ class REST::Admin::AccountSerializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def ip
|
def ip
|
||||||
ips&.first
|
ips&.first&.ip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user