summaryrefslogtreecommitdiff
path: root/src/routers/vault/middlewares/legacy/account.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routers/vault/middlewares/legacy/account.js')
-rw-r--r--src/routers/vault/middlewares/legacy/account.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/routers/vault/middlewares/legacy/account.js b/src/routers/vault/middlewares/legacy/account.js
index b78317f..fb507de 100644
--- a/src/routers/vault/middlewares/legacy/account.js
+++ b/src/routers/vault/middlewares/legacy/account.js
@@ -321,6 +321,8 @@ const migrate = async (req, res, next) => {
vaultId: session.vault,
});
+ // TODO: set an account variable with the original legacy account id
+
const evol_account = new EvolAccount(evol_acc.accountId, evol_acc.userid);
evol_account.legacyId = legacy.accountId;
evol_account.legacyAccount = legacy;
@@ -358,6 +360,8 @@ const migrate = async (req, res, next) => {
continue;
}
+ // TODO: set a variable in the char with the original legacy char id
+
// remove the name reservation
req.app.locals.evol.char_reservation.destroy({
where: { name: char.name }