1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-03-03 15:22:25 +02:00
qwerty287 28e96a3851
View better error if repo was deleted/renamed (#780)
If the repo was renamed, there's an issue with Gitea: it redirects the /api/v1/repos/<owner>/<repo>/hooks POST request to a GET request at the same URL.
This URL returns the list of all hooks, thus the Gitea SDK can't parse the response into a single gitea.Hook type.

A better error is also visisble if the repo was deleted.
2022-02-24 14:54:05 +01:00
..
2022-01-31 15:38:00 +01:00
2022-01-31 14:39:53 +01:00
2021-12-28 17:02:49 +01:00