|
|
@@ -157,7 +157,7 @@ module.exports = function(crowi) {
|
|
|
};
|
|
|
|
|
|
|
|
|
- userSchema.methods.updateisEmailPublished = function(isEmailPublished, callback) {
|
|
|
+ userSchema.methods.updateIsEmailPublished = function(isEmailPublished, callback) {
|
|
|
this.isEmailPublished = isEmailPublished;
|
|
|
this.save(function(err, userData) {
|
|
|
return callback(err, userData);
|