mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-21 02:30:31 +00:00
Fix error
Former-commit-id: d9458ca4476349fa5e0b707a915b73831169d7df [formerly 9cdbfe890802e77e30703b01c646e80d8f58d827] [formerly 1dc6cc6cc950b405cc7963ebe2ca02663e607863 [formerly a48617de6a]]
Former-commit-id: 82886fd8153776755f9fd0849a5dab8ff99aeea9 [formerly d5b79e6b3c049a107542d18834e7514bafa71356]
Former-commit-id: 7dea549348decdf929b56d9b597c39b1d35d6d67
This commit is contained in:
parent
4401a128ce
commit
8a71ad00fd
1 changed files with 1 additions and 1 deletions
2
http.go
2
http.go
|
|
@ -149,7 +149,7 @@ func errorToHTTP(err error, gone bool) int {
|
|||
|
||||
return http.StatusGone
|
||||
case os.IsExist(err):
|
||||
return http.StatusGone
|
||||
return http.StatusConflict
|
||||
default:
|
||||
return http.StatusInternalServerError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue