Skip to content

Commit

Permalink
Merge pull request #15 from upwork/v1.2.2
Browse files Browse the repository at this point in the history
v1.2.2
  • Loading branch information
mnovozhylov authored Feb 15, 2017
2 parents f44f2fb + 8d3333f commit 0f6a382
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/routers/hr/clients/applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports.Applications = function(api) {
*/
exports.Applications.prototype.getList = function(params, callback) {
debug('running request');
this.api.client.get('hr/v3/clients/applications', params, callback);
this.api.client.get('hr/v4/clients/applications', params, callback);
}

/**
Expand All @@ -54,5 +54,5 @@ exports.Applications.prototype.getList = function(params, callback) {
*/
exports.Applications.prototype.getSpecific = function(reference, params, callback) {
debug('running request');
this.api.client.get('hr/v3/clients/applications' + reference, params, callback);
this.api.client.get('hr/v4/clients/applications' + reference, params, callback);
}
4 changes: 2 additions & 2 deletions lib/routers/hr/freelancers/applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports.Applications = function(api) {
*/
exports.Applications.prototype.getList = function(params, callback) {
debug('running request');
this.api.client.get('hr/v3/contractors/applications', params, callback);
this.api.client.get('hr/v4/contractors/applications', params, callback);
}

/**
Expand All @@ -53,5 +53,5 @@ exports.Applications.prototype.getList = function(params, callback) {
*/
exports.Applications.prototype.getSpecific = function(reference, callback) {
debug('running request');
this.api.client.get('hr/v3/contractors/applications' + reference, {}, callback);
this.api.client.get('hr/v4/contractors/applications' + reference, {}, callback);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "upwork-api",
"description": "Node.JS bindings for Upwork API",
"version": "1.2.1",
"version": "1.2.2",
"author": {
"name": "Maksym Novozhylov",
"email": "[email protected]"
Expand Down

0 comments on commit 0f6a382

Please sign in to comment.