Skip to content

Commit

Permalink
fix(bug): base url
Browse files Browse the repository at this point in the history
  • Loading branch information
mnovozhylov committed Jul 3, 2023
1 parent 57ff5a9 commit af50333
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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

0 comments on commit af50333

Please sign in to comment.