Skip to content

Commit

Permalink
chore: inputs are properly formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed May 19, 2024
1 parent 3c3321d commit dda101f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/github/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ async function handleEvent(event: EmitterWebhookEvent, eventHandler: InstanceTyp
const token = await eventHandler.getToken(event.payload.installation.id);

if (typeof plugin === "string") {
return await dispatchWorker(plugin, { token, settings, payload: event.payload });
const inputs = new DelegatedComputeInputs(stateId, context.key, event.payload, settings, token, "");
return await dispatchWorker(plugin, inputs.getInputs());
}

const ref = plugin.ref ?? (await getDefaultBranch(context, plugin.owner, plugin.repo));
Expand Down

0 comments on commit dda101f

Please sign in to comment.