};
setAndSendLoginToken("Welcome to " + params.siteURL, user);
// Update tournament DB (TODO: if error, log it)
- exec(params.tourneyPath + "/sync_users.py");
+ exec(params.tourneyPath + "/dbsync/insert_user.py " + ret.id);
res.json({});
}
});
notify: !!req.body.notify,
};
UserModel.updateSettings(user);
+ exec(params.tourneyPath + "/dbsync/update_user.py " + ret.id);
res.json({});
}
});