Skip to content

Node.js based forum software built for the modern web

fix indent

barisusaklidcf2691a1202
diff --git a/src/user/profile.js b/src/user/profile.js
index eca163ab73..19b5441e0a 100644
--- a/src/user/profile.js
+++ b/src/user/profile.js
@@ -10,7 +10,7 @@ var async = require('async'),
events = require('../events'),
db = require('../database'),
Password = require('../password'),
- plugins = require('./../plugins');
+ plugins = require('../plugins');
module.exports = function(User) {
@@ -123,8 +123,8 @@ module.exports = function(User) {
User.setUserField(uid, field, data[field], next);
}
- });
- };
+ });
+ };
function updateEmail(uid, newEmail, callback) {
User.getUserFields(uid, ['email', 'picture', 'uploadedpicture'], function(err, userData) {
@@ -280,5 +280,4 @@ module.exports = function(User) {
});
}
};
-
};