Changed function to not_found
.
Instead of using funtion `error!` the function `not_found!` is used to return 404 error. Adjusted documentation accordingly.
This commit is contained in:
parent
40e7846f3e
commit
2bd955961c
2 changed files with 4 additions and 1 deletions
|
@ -79,6 +79,9 @@ Parameters:
|
|||
}
|
||||
```
|
||||
|
||||
Will return status code `200` on success or `404 Not found` if the branch is not available.
|
||||
|
||||
|
||||
## Protect a project repository branch
|
||||
|
||||
Protect a single project repository branch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue