Add type account uid edge cases

This commit is contained in:
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

View file

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