auth-app.js
auth-app.js copied to clipboard
[BUG]: `octokit.request("PATCH /app/hook/config", { url })` throws error `installationId option is required for installation authentication`
trafficstars
What happened?
The reason for this is that url is a special argument that octokit is using internally. I think a long time ago I asked the API to rename the parameter because of that conflict, also webhook_url would be more clear anyway.
Here is a workaround for anyone who runs into it
await octokit.request("PATCH /app/hook/config", {
data: { url },
});
Versions
any
Relevant log output
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct