Skip to content

Commit

Permalink
Updated habitrpg call to include URL, resolving kusold#57 in upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfclark committed Jan 26, 2017
1 parent 8a8fddf commit 69c15be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion habitSync.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ habitSync.prototype.getTodoistSync = function(cb) {

habitSync.prototype.syncItemsToHabitRpg = function(items, cb) {
var self = this
var habit = new habitapi(self.uid, self.token, null, 'v2');
var habit = new habitapi(self.uid, self.token, 'https://habitica.com/api/v3', 'v2');
// Cannot execute in parallel. See: https://github.com/HabitRPG/habitrpg/issues/2301
async.eachSeries(items, function(item, next) {
async.waterfall([
Expand Down

0 comments on commit 69c15be

Please sign in to comment.