From 1ae84afb1222f855ba59d0bfb193f29536f49b31 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 12 Jan 2020 12:04:20 +0200 Subject: [PATCH] Fix tslint errors --- backend/src/data/GuildSavedMessages.ts | 2 +- dashboard/src/store/auth.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/data/GuildSavedMessages.ts b/backend/src/data/GuildSavedMessages.ts index c7a498fb..8507a0dd 100644 --- a/backend/src/data/GuildSavedMessages.ts +++ b/backend/src/data/GuildSavedMessages.ts @@ -145,7 +145,7 @@ export class GuildSavedMessages extends BaseGuildRepository { try { await this.messages.insert(data); } catch (e) { - console.warn(e); + console.warn(e); // tslint:disable-line return; } diff --git a/dashboard/src/store/auth.ts b/dashboard/src/store/auth.ts index 5b08a953..12f0f4e3 100644 --- a/dashboard/src/store/auth.ts +++ b/dashboard/src/store/auth.ts @@ -22,9 +22,9 @@ export const AuthStore: Module = { await dispatch("setApiKey", storedKey); 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"); }