Shun Miyazawa 5 lat temu
rodzic
commit
7cbb590d06
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/server/models/slack-app-integration.js

+ 1 - 0
src/server/models/slack-app-integration.js

@@ -19,5 +19,6 @@ class SlackAppIntegration {
 
 
 module.exports = function(crowi) {
 module.exports = function(crowi) {
   SlackAppIntegration.crowi = crowi;
   SlackAppIntegration.crowi = crowi;
+  schema.loadClass(SlackAppIntegration);
   return mongoose.model('SlackAppIntegration', schema);
   return mongoose.model('SlackAppIntegration', schema);
 };
 };