Skip to content
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

Delete Repository returns 500. #6

Open
serdalis opened this issue Feb 16, 2022 · 0 comments
Open

Delete Repository returns 500. #6

serdalis opened this issue Feb 16, 2022 · 0 comments

Comments

@serdalis
Copy link

serdalis commented Feb 16, 2022

When deleting a repository the web-hook returns a 500.

Looking at the logs it's complaining that the web-hook object doesn't have a property called "repo_name".

One solution is to delete https://github.com/twilio-labs/snyk-watcher/blob/main/app/routers/github.py#L49 and replace its usage on https://github.com/twilio-labs/snyk-watcher/blob/main/app/routers/github.py#L50 with the 'repo_name' variable.

@serdalis serdalis changed the title Delete Repo returns 500. Delete Repository returns 500. Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant