We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0245c commit 751463cCopy full SHA for 751463c
src/api.ts
@@ -24,7 +24,7 @@ export async function dispatchWorkflow(distinctId: string): Promise<void> {
24
workflow_id: config.workflow,
25
ref: config.ref,
26
inputs: {
27
- ...(config.workflowInputs ? config.workflowInputs : undefined),
+ ...(config.workflowInputs ?? undefined),
28
distinct_id: distinctId,
29
},
30
});
0 commit comments