mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
ESlint key-spacing, no-trailing-spaces
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = function (SocketUser) {
|
||||
},
|
||||
], callback);
|
||||
};
|
||||
|
||||
|
||||
SocketUser.uploadCroppedPicture = function (socket, data, callback) {
|
||||
if (!socket.uid) {
|
||||
return callback(new Error('[[error:no-privileges]]'));
|
||||
|
||||
Reference in New Issue
Block a user