From 6581c904759cac1b11943842b426d16383a5916b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 20 Nov 2014 19:24:23 -0500 Subject: [PATCH] forgot one --- src/socket.io/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/user.js b/src/socket.io/user.js index 1a6f12d671..96811d57e7 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -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); }); }); };