Browse Source

add loadClass

Shun Miyazawa 5 years ago
parent
commit
7cbb590d06
1 changed files with 1 additions and 0 deletions
  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) {
   SlackAppIntegration.crowi = crowi;
+  schema.loadClass(SlackAppIntegration);
   return mongoose.model('SlackAppIntegration', schema);
 };