fix: change endpoint

This commit is contained in:
Saahil 2024-11-15 19:15:06 -05:00 committed by GitHub
parent ca55ef6238
commit e320e0a5ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ const pull_number = process.env.PR_NUMBER;
const commentError = (message) => {
console.debug("#commentError");
simpleApiReq(
`repos/${owner}/${repo}/pulls/${pull_number}/comments`,
`repos/${owner}/${repo}/pulls/${pull_number}/reviews`,
"POST",
{
event: "REQUEST_CHANGES",