Explorar o código

fix null chek

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
98967dde06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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') {