mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Updaded api user return data
This commit is contained in:
parent
363a9a7357
commit
7939c5065d
3 changed files with 3 additions and 2 deletions
|
@ -143,7 +143,7 @@ module Repp
|
|||
arr = []
|
||||
users.each do |u|
|
||||
arr << { id: u.id, username: u.username,
|
||||
role: u.roles.first }
|
||||
role: u.roles.first, registrar_name: u.registrar.name }
|
||||
end
|
||||
|
||||
arr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue