diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-15 14:04:56 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-15 14:04:56 +0100 |
commit | bfec9aaee077c6dd54081a89f697271d7a5c0a6a (patch) | |
tree | ececd729f513fd14998f2be30169973956ef6f59 /app/controllers/api/v1/apps_controller.rb | |
parent | 1f7c0ad8d3d336b036d16272716e41812f65f5d9 (diff) | |
parent | e9737c2235ec56502e650bd1adad3f32bf85f0ef (diff) |
Merge branch 'ineffyble-feature/toot-app-source'
Diffstat (limited to 'app/controllers/api/v1/apps_controller.rb')
-rw-r--r-- | app/controllers/api/v1/apps_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/apps_controller.rb b/app/controllers/api/v1/apps_controller.rb index 1b33770f4..ca9dd0b7e 100644 --- a/app/controllers/api/v1/apps_controller.rb +++ b/app/controllers/api/v1/apps_controller.rb @@ -4,6 +4,6 @@ class Api::V1::AppsController < ApiController respond_to :json def create - @app = Doorkeeper::Application.create!(name: params[:client_name], redirect_uri: params[:redirect_uris], scopes: (params[:scopes] || Doorkeeper.configuration.default_scopes)) + @app = Doorkeeper::Application.create!(name: params[:client_name], redirect_uri: params[:redirect_uris], scopes: (params[:scopes] || Doorkeeper.configuration.default_scopes), website: params[:website]) end end |