Fix tslint errors
This commit is contained in:
parent
7f4529ce93
commit
1ae84afb12
2 changed files with 3 additions and 3 deletions
|
@ -145,7 +145,7 @@ export class GuildSavedMessages extends BaseGuildRepository {
|
||||||
try {
|
try {
|
||||||
await this.messages.insert(data);
|
await this.messages.insert(data);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e);
|
console.warn(e); // tslint:disable-line
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@ export const AuthStore: Module<AuthState, RootState> = {
|
||||||
await dispatch("setApiKey", storedKey);
|
await dispatch("setApiKey", storedKey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {} // tslint:disable-line
|
||||||
|
|
||||||
console.log("Unable to validate key, removing from localStorage");
|
console.log("Unable to validate key, removing from localStorage"); // tslint:disable-line
|
||||||
localStorage.removeItem("apiKey");
|
localStorage.removeItem("apiKey");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue