Add type account uid edge cases

pull/1/head
Made Baruna 2021-08-10 18:58:14 +07:00
parent 72fc6ab5b9
commit 9a82e00f15
No known key found for this signature in database
GPG Key ID: 5AA5DA16AA5DCEAD
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@
const localData = await readSave(`${prefix}${path}`); const localData = await readSave(`${prefix}${path}`);
if (localData !== null) { if (localData !== null) {
currentUID = localData; currentUID = localData.toString();
} }
} }
@ -243,7 +243,7 @@
throw 'account error'; throw 'account error';
} }
currentUID = row.uid; currentUID = row.uid.toString();
if (dayjs(time).isSameOrBefore(newestPullTime)) { if (dayjs(time).isSameOrBefore(newestPullTime)) {
return; return;