mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: extra ')'
This commit is contained in:
@@ -57,7 +57,7 @@ SocketFlags.appendNote = async function (socket, data) {
|
|||||||
if (data.datetime && data.flagId) {
|
if (data.datetime && data.flagId) {
|
||||||
const note = await flags.getNote(data.flagId, data.datetime);
|
const note = await flags.getNote(data.flagId, data.datetime);
|
||||||
if (note.uid !== socket.uid) {
|
if (note.uid !== socket.uid) {
|
||||||
throw new Error('[[error:no-privileges]]'));
|
throw new Error('[[error:no-privileges]]');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user