about summary refs log tree commit diff
path: root/app/serializers/rest/admin
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/rest/admin')
-rw-r--r--app/serializers/rest/admin/account_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/admin/account_serializer.rb b/app/serializers/rest/admin/account_serializer.rb
index 3480e8c5a..2fbc7b1cb 100644
--- a/app/serializers/rest/admin/account_serializer.rb
+++ b/app/serializers/rest/admin/account_serializer.rb
@@ -77,6 +77,6 @@ class REST::Admin::AccountSerializer < ActiveModel::Serializer
   end
 
   def ip
-    ips&.first
+    ips&.first&.ip
   end
 end