adapt reset to v2 and remove deleted files from gulpfile

This commit is contained in:
Matteo Pagliazzi
2016-04-12 18:50:02 +02:00
parent c64ba3e8d7
commit 004b032084
3 changed files with 7 additions and 8 deletions

View File

@@ -878,7 +878,7 @@ _.each(shared.ops, function(op,k){
if (['rebirth', 'reroll', 'reset'].indexOf(k) !== -1) { // proxy ops that change tasks directly to v3
if (k === 'rebirth') k = 'userRebirth'; // the name is different in v3
if (k === 'reroll') k = 'userReroll';
// if (k === 'reset') k = 'resetUser';
if (k === 'reset') k = 'userReset';
api[k] = function (req, res, next) {
req.v2 = true;