You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG]: octokit.rest.apps.getInstallation(installation_id) calls GET /app/installations when it should call GET /app/installations/{installation_id}#779
I first identified the problem when I called octokit.rest.apps.getInstallation, and expected it to return a single Installation instance as per the declared return type.
What I discovered was that the return value breached the return-type contract and instead contained an array of all installations for the app, as per octokit.rest.apps.listInstallations. This then caused a runtime failure due to the conflic between the declared return type and the actual return type.