Răsfoiți Sursa

fix null chek

zahmis 5 ani în urmă
părinte
comite
98967dde06
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/server/routes/apiv3/slack-integration-settings.js

+ 1 - 1
src/server/routes/apiv3/slack-integration-settings.js

@@ -145,7 +145,7 @@ module.exports = (crowi) => {
 
     // retrieve connection statuses
     let connectionStatuses;
-    if (currentBotType === null) {
+    if (currentBotType == null) {
       // TODO imple null action
     }
     else if (currentBotType === 'customBotWithoutProxy') {