Skip to content

Commit

Permalink
fix: tests, because redis is TOO FAST
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Sep 14, 2020
1 parent 29b357b commit 4fca793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket.io/user.js
Expand Up @@ -302,7 +302,7 @@ SocketUser.setModerationNote = async function (socket, data) {
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) {
Expand Down

0 comments on commit 4fca793

Please sign in to comment.