forked from Gitlink/forgeplus
FIX bug
This commit is contained in:
parent
2633e65a6c
commit
9cc2e80e98
|
@ -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…
Reference in New Issue