Moved chained funcitons to multiple lines

This commit is contained in:
David Erwin
2016-11-10 14:52:05 -05:00
parent 26f48196d9
commit d9dc198d46
11 changed files with 131 additions and 69 deletions
+2 -1
View File
@@ -112,7 +112,8 @@ UserSchema.statics.mergeUsers = function(dstUserID, srcUserID) {
});
return srcUser.remove();
}).then(() => dstUser.save());
})
.then(() => dstUser.save());
};
/**