Node.js based forum software built for the modern web
fix: typo in flags
Barış Soner Uşaklıbc4b19b4d73c
diff --git a/src/api/flags.js b/src/api/flags.jsindex 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;}}