-
-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation of ->api("apps")->removeRepository()
Incorrect
#761
Labels
Comments
The docs issue will be fixed in #989 I think the other error has more to do with how you are authenticated instead of a bug in this library. Please check your code against the github docs If there is still a bug with this library, please open a new issue. Thanks! |
acrobat
added a commit
that referenced
this issue
Mar 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation of
->api("apps")->removeRepository()
as shown here (https://github.com/KnpLabs/php-github-api/blob/master/doc/apps.md) seems to be incorrect. This code () seems to require 2 arguments, but the documentation shows only one.When I try to execute the method with two arguments
$installationId
and$respositoryId
I get the following error:I am authenticating as my GitHub app as described at the bottom of this page: https://github.com/KnpLabs/php-github-api/blob/master/doc/security.md
Any suggestions on what I need to do to make this work? Thanks!
The text was updated successfully, but these errors were encountered: