소스 검색

fix: http request fallback

Ahmad Kholid 3 년 전
부모
커밋
fb3c00473e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/background/workflowEngine/blocksHandler/handlerWebhook.js

+ 1 - 1
src/background/workflowEngine/blocksHandler/handlerWebhook.js

@@ -21,7 +21,7 @@ export async function webhook({ data, id }, { refData }) {
     const response = await executeWebhook({ ...data, headers: newHeaders });
 
     if (!response.ok) {
-      if (fallbackOutput.connections.length > 0) {
+      if (fallbackOutput.length > 0) {
         return {
           data: '',
           nextBlockId: fallbackOutput,