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
pull/19191/head
trwnh 2022-09-15 08:35:06 -05:00 committed by GitHub
parent 0aacf00f5b
commit 526b4b3677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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