refactor(editor): Enable @typescript-eslint/no-base-to-string lint rule, fix errors (no-changelog) (#9783)

This commit is contained in:
Elias Meire
2024-06-18 15:04:29 +02:00
committed by GitHub
parent e3cbce5028
commit 7e44cd7f16
6 changed files with 17 additions and 8 deletions

View File

@@ -306,7 +306,8 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
if (!showForm) continue;
const { webhookSuffix } = (node.parameters.options ?? {}) as IDataObject;
const suffix = webhookSuffix ? `/${webhookSuffix}` : '';
const suffix =
webhookSuffix && typeof webhookSuffix !== 'object' ? `/${webhookSuffix}` : '';
testUrl = `${rootStore.getFormWaitingUrl}/${runWorkflowApiResponse.executionId}${suffix}`;
}