From 29abac221ce22eb60b70d01b45e5f6c6b0a161af Mon Sep 17 00:00:00 2001 From: lucasew Date: Fri, 20 Dec 2024 20:14:10 -0300 Subject: [PATCH] fix code path Signed-off-by: lucasew --- src/routes/api/callback/+server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api/callback/+server.ts b/src/routes/api/callback/+server.ts index 974dd21..973d794 100644 --- a/src/routes/api/callback/+server.ts +++ b/src/routes/api/callback/+server.ts @@ -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}) }