fix: tests, because redis is TOO FAST

This commit is contained in:
Julian Lam
2020-09-14 11:07:46 -04:00
parent 29b357bc66
commit 4fca79380a

View File

@@ -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) {