diff options
author | James Lopez <james@jameslopez.es> | 2017-10-31 11:02:57 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-10-31 11:03:59 +0300 |
commit | 232bdd47d9af004b09cfde68d866d3e694572774 (patch) | |
tree | b4ea227a265c6515ea6db29e08c480ed95bfcf3b /app/services/applications | |
parent | 82c758c0a85433ca05442ed440f823e17e82573b (diff) |
refactor code
Diffstat (limited to 'app/services/applications')
-rw-r--r-- | app/services/applications/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/applications/create_service.rb b/app/services/applications/create_service.rb index ccc0d0848f9..35d45f25a71 100644 --- a/app/services/applications/create_service.rb +++ b/app/services/applications/create_service.rb @@ -6,7 +6,7 @@ module Applications @ip_address = @params.delete(:ip_address) end - def execute + def execute(request = nil) Doorkeeper::Application.create(@params) end end |