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"
}
}