mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: tests, because redis is TOO FAST
This commit is contained in:
@@ -302,7 +302,7 @@ SocketUser.setModerationNote = async function (socket, data) {
|
|||||||
throw new Error('[[error:no-privileges]]');
|
throw new Error('[[error:no-privileges]]');
|
||||||
}
|
}
|
||||||
|
|
||||||
user.appendModerationNote({ uid: data.uid, noteData });
|
await user.appendModerationNote({ uid: data.uid, noteData });
|
||||||
};
|
};
|
||||||
|
|
||||||
SocketUser.deleteUpload = async function (socket, data) {
|
SocketUser.deleteUpload = async function (socket, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user