소스 검색

fix req.body

zahmis 5 년 전
부모
커밋
77ed58c803
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySecretTokenSection.jsx

+ 2 - 2
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySecretTokenSection.jsx

@@ -19,8 +19,8 @@ const CustomBotWithoutProxySecretTokenSection = (props) => {
   const updatedSecretToken = async() => {
     try {
       await appContainer.apiv3.put('/slack-integration-settings/without-proxy/update-settings', {
-        inputSigningSecret,
-        inputBotToken,
+        slackSigningSecret: inputSigningSecret,
+        slackBotToken: inputBotToken,
         currentBotType,
       });