Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add the posibility to support POST methods like CREATE INVOICE
  • Loading branch information
jonymusky committed Jul 12, 2019
commit caeb3c6c8b48d07f2d087fb950b8c92423b378bc
2 changes: 1 addition & 1 deletion src/OAuthClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ OAuthClient.prototype.makeApiCall = function(params) {

var request = {
url: params.url,
method: 'GET',
method: params.method ? params.method || 'GET',
headers: {
'Authorization': 'Bearer ' + this.getToken().access_token,
'Accept': AuthResponse._jsonContentType,
Expand Down