add: role field

This commit is contained in:
vilet.yy 2021-06-10 11:44:48 +08:00
parent 9d07181733
commit 44cbb537ca
1 changed files with 1 additions and 0 deletions

View File

@ -14,5 +14,6 @@ json.user do
end
json.id object.id
json.status object.status
json.role object.role
json.created_at format_time(object.created_at)
json.time_ago time_from_now(object.created_at)