Skip to content

Commit

Permalink
Merge pull request #26 from upwork/v2.2.1
Browse files Browse the repository at this point in the history
v2.2.1
  • Loading branch information
mnovozhylov committed Jul 3, 2023
2 parents 57ff5a9 + d18abc8 commit 0b65b76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Release History

## 2.2.1
* Fix base url

## 2.2.0
* Add support of Client Credentials Grant
* Fix issue with "debug" config option
* BREAKING CHANGE: NON-WORKING VERSION

## 2.1.3
* Add GraphQL support
Expand Down
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Config(options) {
this.debug = options.debug || false;
this.authorizePath = '/ab/account-security/oauth2/authorize';
this.tokenPath = '/api/v3/oauth2/token';
this.tokenHost = 'https://stage.upwork.com';
this.tokenHost = 'https://www.upwork.com';
this.baseUrl = this.tokenHost + '/api/';
this.gqlUrl = 'https://api.upwork.com/graphql';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@upwork/node-upwork-oauth2",
"description": "Node.JS bindings for Upwork API (OAuth2)",
"version": "2.2.0",
"version": "2.2.1",
"author": {
"name": "Maksym Novozhylov",
"email": "mnovozhilov@upwork.com"
Expand Down

0 comments on commit 0b65b76

Please sign in to comment.