summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-06-07 14:22:29 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-06-07 14:22:29 +0300
commit1b1d51bb30777065c8f854afcab3e4d865d8dc60 (patch)
tree2a65072983d3933dcd0c594a90dd02a6364f3ffa /app
parent66c02b3fb563c4cf3e12bb2952ca94f2b1582e78 (diff)
downloadgitlab-ce-1b1d51bb30777065c8f854afcab3e4d865d8dc60.tar.gz
Make request argument required for Applications::CreateService
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/services/applications/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/applications/create_service.rb b/app/services/applications/create_service.rb
index e67af929954..94a434b95dd 100644
--- a/app/services/applications/create_service.rb
+++ b/app/services/applications/create_service.rb
@@ -5,7 +5,7 @@ module Applications
@params = params.except(:ip_address)
end
- def execute(request = nil)
+ def execute(request)
Doorkeeper::Application.create(@params)
end
end