mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-28 04:27:24 +00:00
Improve article
This commit is contained in:
@@ -60,7 +60,7 @@ class Network {
|
||||
return;
|
||||
}
|
||||
const res = await this.getMe()
|
||||
if (!res.success && res.message.includes("Invalid token")) {
|
||||
if (!res.success && (res.message.includes("Invalid token") || res.message.includes("User not found"))) {
|
||||
app.token = null;
|
||||
app.user = null;
|
||||
app.saveData();
|
||||
|
Reference in New Issue
Block a user