Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 1ca3386

Browse files
committed
Update percentage
1 parent 0abfcf1 commit 1ca3386

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logic/auth.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ async function changeName(name) {
5252

5353
changeNameStatus.percent = 1; // eslint-disable-line no-magic-numbers
5454

55-
changeNameStatus.percent = 40; // eslint-disable-line no-magic-numbers
55+
changeNameStatus.percent = 30; // eslint-disable-line no-magic-numbers
5656

5757
try {
5858
// get user data
5959
const user = await diskLogic.readUserFile();
60+
changeNameStatus.percent = 60; // eslint-disable-line no-magic-numbers
6061

6162
// update user name
6263
user.name = name;

0 commit comments

Comments
 (0)