1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix API status code for hook creation (#2814)

* Fix API status code for hook creation

* Named constants for response statuses
This commit is contained in:
Ethan Koenig
2017-11-19 23:00:53 -08:00
committed by Lunny Xiao
parent 061f65ff29
commit 876bafb7ef
3 changed files with 5 additions and 4 deletions

View File

@@ -1527,7 +1527,7 @@
}
],
"responses": {
"200": {
"201": {
"$ref": "#/responses/Hook"
}
}