diff --git a/fluxer_api/src/api/webhook/transformers/GitHubCommitTransformer.ts b/fluxer_api/src/api/webhook/transformers/GitHubCommitTransformer.ts index 38f08d180..c14511fb7 100644 --- a/fluxer_api/src/api/webhook/transformers/GitHubCommitTransformer.ts +++ b/fluxer_api/src/api/webhook/transformers/GitHubCommitTransformer.ts @@ -129,7 +129,7 @@ export async function transformPush(body: GitHubWebhook): Promise `This reverts commit [\`${hash.substring(0, 7)}\`](${body.repository?.html_url}/commit/${hash}).`, ); - return `[\`${shortCommitId}\`](${commit.url}) ${commitMessage} - ${commit.author.name}`; + return `[\`${shortCommitId}\`](${body.repository?.html_url}/commit/${commit.id}) ${commitMessage} - ${commit.author.name}`; }) .join('\n'); if (!body.compare) {