Skip to content

Commit

Permalink
Fix GH api commit link (#2560)
Browse files Browse the repository at this point in the history
* Update createRelease.ts

* another
  • Loading branch information
ameer2468 committed Jun 20, 2024
1 parent 47a4e9a commit 44d2d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/landing/src/app/api/slack/webhook/createRelease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export async function createModal(
type: 'plain_text',
text: 'View Commit'
},
url: `${github.REPO_API}/commit/${commit}`
url: `${github.REPO_API}/commits/${commit}`
},
text: {
type: 'mrkdwn',
Expand Down Expand Up @@ -267,7 +267,7 @@ export async function handleSubmission(
type: 'plain_text',
text: 'View Commit'
},
url: `https://github.com/${env.GITHUB_ORG}/${env.GITHUB_REPO}/commit/${commit}`
url: `https://github.com/${env.GITHUB_ORG}/${env.GITHUB_REPO}/commits/${commit}`
}
]
}
Expand Down

0 comments on commit 44d2d8b

Please sign in to comment.