mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-23 15:11:15 +01:00
correct object
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user