Skip to content

Commit

Permalink
Updated base url
Browse files Browse the repository at this point in the history
  • Loading branch information
tanelt committed Apr 26, 2019
1 parent 361024f commit 04e5a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const querystring = require('querystring');
class PDFGeneratorAPI {
constructor(key, secret, workspace, timeout)
{
this.baseUrl = 'https://pdfgeneratorapi.com/api/v3/';
this.baseUrl = 'https://us1.pdfgeneratorapi.com/api/v3/';
this.key = key;
this.secret = secret;
this.workspace = workspace;
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let Client = new PDFGeneratorAPI(
'{your_api_key}',
'{your_api_secret}'
);

Client.setBaseUrl('https://us1.pdfgeneratorapi.com/api/v3/');
Client.setWorkspace('{unique_workspace_identifier}');

Client.getAll().then(function(response) {
Expand Down

0 comments on commit 04e5a7c

Please sign in to comment.