mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 01:26:16 +01:00
forgot one
This commit is contained in:
@@ -201,7 +201,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) {
|
||||
}
|
||||
|
||||
user.setUserFields(socket.uid, {uploadedpicture: data.url, picture: data.url}, function(err) {
|
||||
callback(err, data.image.url);
|
||||
callback(err, data.url);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user