From 2d238e61acd7401e65b3bced3a038d0c277bce16 Mon Sep 17 00:00:00 2001 From: Steve Lacy Date: Fri, 17 Oct 2014 23:15:13 -0700 Subject: [PATCH] correct object --- src/user/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/profile.js b/src/user/profile.js index 1c872fb268..e8251b73e7 100644 --- a/src/user/profile.js +++ b/src/user/profile.js @@ -16,7 +16,7 @@ module.exports = function(User) { User.updateProfile = function(uid, data, callback) { - plugins.fireHook('filter:user.updateProfile', {uid: uid, settings: data.settings}, function(err, data) { + plugins.fireHook('filter:user.updateProfile', {uid: uid, settings: data}, function(err, data) { if(err) { return callback(err); }