Skip to content

Commit b454ee8

Browse files
authored
Merge pull request #4 from upwork/v2.0.4
v2.0.4
2 parents ec4bfb4 + 8b44c3b commit b454ee8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ Client.prototype.sendRequest = function (method, url, params, callback) {
218218
_params = {formData: params};
219219
break;
220220
default:
221-
method = 'POST';
222221
_params = {formData: Object.assign(params, {http_method: method.toLowerCase()})};
222+
method = 'POST';
223223
}
224224

225225
var _options = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@upwork/node-upwork-oauth2",
33
"description": "Node.JS bindings for Upwork API (OAuth2)",
4-
"version": "2.0.3",
4+
"version": "2.0.4",
55
"author": {
66
"name": "Maksym Novozhylov",
77
"email": "mnovozhilov@upwork.com"

0 commit comments

Comments
 (0)