diff --git a/app/libs/dev_ops/drone/request.rb b/app/libs/dev_ops/drone/request.rb index 6cc38174e..85420b7ab 100644 --- a/app/libs/dev_ops/drone/request.rb +++ b/app/libs/dev_ops/drone/request.rb @@ -35,10 +35,10 @@ def put(endpoint, path, options={}) validate_request_params!(endpoint) - + request(:put, endpoint, path, options) end - def patch(url, params={}) + def patch(endpoint, path, options={}) validate_request_params!(endpoint) request(:patch, endpoint, path, options) end