Expose id and name attributes to Applications API

This commit is contained in:
JB Vasseur 2018-10-11 19:52:42 +09:00
parent ee6d9e2843
commit 3421f1d124
1 changed files with 2 additions and 0 deletions

View File

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