mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-24 06:51:35 +00:00
Fix typo "fetch"
This commit is contained in:
@@ -88,7 +88,7 @@ func PostHook(c web.C, w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// featch the .drone.yml file from the database
|
// fetch the .drone.yml file from the database
|
||||||
yml, err := remote.GetScript(user, repo, hook)
|
yml, err := remote.GetScript(user, repo, hook)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.WriteHeader(http.StatusBadRequest)
|
w.WriteHeader(http.StatusBadRequest)
|
||||||
|
Reference in New Issue
Block a user