Fix error

pull/144/head
Henrique Dias 2017-07-04 18:10:41 +01:00
parent 973d4380df
commit a48617de6a
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 1 additions and 1 deletions

View File

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