Browse Source

FIX bug

tags/v1.0.0
Jasder 6 years ago
parent
commit
9cc2e80e98
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/libs/dev_ops/drone/request.rb

+ 2
- 2
app/libs/dev_ops/drone/request.rb View File

@@ -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


Loading…
Cancel
Save