mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +01:00
fix: typo in flags
This commit is contained in:
@@ -51,7 +51,7 @@ flagsApi.appendNote = async (caller, data) => {
|
|||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Okay if not does not exist in database
|
// Okay if not does not exist in database
|
||||||
if (!e.message === '[[error:invalid-data]]') {
|
if (e.message !== '[[error:invalid-data]]') {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user