Skip to content

Commit

Permalink
fix code path
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Dec 20, 2024
1 parent f45ff90 commit 29abac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/callback/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function POST(event) {
console.error({message: "Can't detect trigger owner", data: methods.data})
return genericOK
}
const emoji = workflowEmoji(selectedWorkflow)
const emoji = workflowEmoji(workflow_run)

return await json(await methods.telegramReply(`${emoji} **${name}**\n\n• [Result](${html_url})\n• [PR](https://github.com/NixOS/nixpkgs/pull/${pr})`, triggerChatID), {status: 200})
}

0 comments on commit 29abac2

Please sign in to comment.