Expose id and name attributes to Applications API
This commit is contained in:
parent
ee6d9e2843
commit
3421f1d124
1 changed files with 2 additions and 0 deletions
|
@ -1412,7 +1412,9 @@ module API
|
|||
end
|
||||
|
||||
class Application < Grape::Entity
|
||||
expose :id
|
||||
expose :uid, as: :application_id
|
||||
expose :name, as: :application_name
|
||||
expose :redirect_uri, as: :callback_url
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue