Yuki Takei %!s(int64=6) %!d(string=hai) anos
pai
achega
0bc3e431fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.');
     }