Skip to content

Commit

Permalink
Add PATCH to http methods
Browse files Browse the repository at this point in the history
PATCH is referenced but missing in the HTTP Methods object. 

https://github.com/cosmicjs/cosmicjs-node/blob/master/src/bucket/object.js#L162
  • Loading branch information
kgdiem authored Jul 23, 2020
1 parent 25a9e5a commit a1f4147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/http_methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const HTTP_METHODS = {
GET: 'get',
FETCH: 'fetch',
PUT: 'put',
PATCH: 'patch',
DELETE: 'delete'
}

Expand Down

0 comments on commit a1f4147

Please sign in to comment.