mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	use data.url
This commit is contained in:
		| @@ -200,7 +200,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) { | ||||
| 			return callback(err); | ||||
| 		} | ||||
|  | ||||
| 		user.setUserFields(socket.uid, {uploadedpicture: data.image.url, picture: data.image.url}, function(err) { | ||||
| 		user.setUserFields(socket.uid, {uploadedpicture: data.url, picture: data.url}, function(err) { | ||||
| 			callback(err, data.image.url); | ||||
| 		}); | ||||
| 	}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user