fix: typo in flags

This commit is contained in:
Barış Soner Uşaklı
2021-10-28 15:12:12 -04:00
parent 755860f16b
commit bc4b19b4d7

View File

@@ -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;
}
}