Open ajfclark opened 7 years ago
Ok, updating line 152 of habitSync.js
from:
var habit = new habitapi(self.uid, self.token, null, 'v2');
to:
var habit = new habitapi(self.uid, self.token, 'https://habitica.com/api/v3', 'v2');
Allows sync to continue.
Habitica API appears to have changed. All tasks fail to sync with a 404 message.
This seems to be an issue in the habitrpg-api library. I updated line 14 of
/usr/local/lib/node_modules/todoist-habitrpg/node_modules/habitrpg-api
to:And the tasks seem to be syncing correctly again.
It does seem to be possible to set the apiURL without editing the library. I'll see if I cna track down where to make that change.