0
0
Fork 0

Fix #5104 - GET /api/v1/apps/verify_credentials to confirm app works (#5112)

This commit is contained in:
Eugen Rochko 2017-09-30 22:05:42 +02:00 committed by GitHub
parent 1e1d788757
commit eb605141ff
4 changed files with 60 additions and 3 deletions

View file

@ -1,8 +1,6 @@
# frozen_string_literal: true
class Api::V1::AppsController < Api::BaseController
respond_to :json
def create
@app = Doorkeeper::Application.create!(application_options)
render json: @app, serializer: REST::ApplicationSerializer