From bc4b19b4d73c7a3c9709d2ee0ef45c892f1137fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 28 Oct 2021 15:12:12 -0400 Subject: [PATCH] fix: typo in flags --- src/api/flags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/flags.js b/src/api/flags.js index 19a8887260..235030c9df 100644 --- a/src/api/flags.js +++ b/src/api/flags.js @@ -51,7 +51,7 @@ flagsApi.appendNote = async (caller, data) => { } } catch (e) { // Okay if not does not exist in database - if (!e.message === '[[error:invalid-data]]') { + if (e.message !== '[[error:invalid-data]]') { throw e; } }