Skip to content

Commit

Permalink
Merge pull request #107 from emanuele-albini/master
Browse files Browse the repository at this point in the history
Moved access token to header as the new API expects
  • Loading branch information
cbrooker authored Dec 28, 2022
2 parents 31036c0 + 38d2319 commit f207b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ module.exports = NodeHelper.create({
method: "POST",
headers: {
"content-type": "application/x-www-form-urlencoded",
"cache-control": "no-cache"
"cache-control": "no-cache",
"Authorization": "Bearer " + acessCode
},
form: {
token: self.config.accessToken,
sync_token: "*",
resource_types: self.config.todoistResourceType
}
Expand Down

0 comments on commit f207b20

Please sign in to comment.