diff --git a/node_helper.js b/node_helper.js index 36590ce..4d189d8 100644 --- a/node_helper.js +++ b/node_helper.js @@ -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 }