Yuki Takei 5 лет назад
Родитель
Сommit
0bc3e431fe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/server/util/mailer.js

+ 1 - 1
src/server/util/mailer.js

@@ -94,7 +94,7 @@ module.exports = function(crowi) {
   }
 
   async function send(config) {
-    if (!mailer) {
+    if (mailer == null) {
       throw new Error('Mailer is not completed to set up. Please set up SMTP or AWS setting.');
     }