diff --git a/logic/auth.js b/logic/auth.js index dcccacb..f1a9912 100644 --- a/logic/auth.js +++ b/logic/auth.js @@ -52,11 +52,12 @@ async function changeName(name) { changeNameStatus.percent = 1; // eslint-disable-line no-magic-numbers - changeNameStatus.percent = 40; // eslint-disable-line no-magic-numbers + changeNameStatus.percent = 30; // eslint-disable-line no-magic-numbers try { // get user data const user = await diskLogic.readUserFile(); + changeNameStatus.percent = 60; // eslint-disable-line no-magic-numbers // update user name user.name = name;