itizawa 6 lat temu
rodzic
commit
ff4456032e
1 zmienionych plików z 1 dodań i 1 usunięć
  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();