Skip to content

Commit

Permalink
fix: incorrect logging on dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Oct 2, 2024
1 parent 1d16afc commit 1c67042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ describe("API", () => {
"Successfully dispatched workflow:
Repository: owner/repo
Branch: ref
Workflow ID: workflow
Workflow: workflow
Workflow Inputs: {"testInput":"test"}
Distinct ID: "
`);
Expand Down Expand Up @@ -189,7 +189,7 @@ describe("API", () => {
"Successfully dispatched workflow:
Repository: owner/repo
Branch: ref
Workflow ID: workflow
Workflow: workflow
Workflow Inputs: {"testInput":"test"}
Distinct ID: 50b4f5fa-f9ce-4661-80e6-6d660a4a3a0d"
`,
Expand Down
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function dispatchWorkflow(distinctId: string): Promise<void> {
"Successfully dispatched workflow:\n" +
` Repository: ${config.owner}/${config.repo}\n` +
` Branch: ${config.ref}\n` +
` Workflow ID: ${config.workflow}\n` +
` Workflow: ${config.workflow}\n` +
(config.workflowInputs
? ` Workflow Inputs: ${JSON.stringify(config.workflowInputs)}\n`
: ``) +
Expand Down

0 comments on commit 1c67042

Please sign in to comment.