ソースを参照

Merge pull request #1403 from weseek/fix/1143-default-lang-of-global-notification-mail

Fix 1143: defaultLang of GlobalNotificationMailService
Yuki Takei 6 年 前
コミット
ec69ac66de

+ 1 - 0
src/server/service/global-notification/global-notification-mail.js

@@ -11,6 +11,7 @@ class GlobalNotificationMailService {
     this.mailer = crowi.getMailer();
     this.type = crowi.model('GlobalNotificationSetting').TYPE.MAIL;
     this.event = crowi.model('GlobalNotificationSetting').EVENT;
+    this.defaultLang = crowi.configManager.getConfig('crowi', 'app:globalLang');
   }
 
   /**