Browse Source

add async

itizawa 6 years ago
parent
commit
ff4456032e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/models/user.js

+ 1 - 1
src/server/models/user.js

@@ -332,7 +332,7 @@ module.exports = function(crowi) {
     });
   };
 
-  userSchema.methods.statusDelete = function() {
+  userSchema.methods.statusDelete = async function() {
     debug('Delete User', this);
 
     const now = new Date();