Return 404 on errors.KindNotFound

This commit is contained in:
Denis Arh
2021-09-05 13:09:11 +02:00
parent f40f7982c7
commit 61efc20e94
+1 -1
View File
@@ -54,7 +54,7 @@ func (k kind) httpStatus() int {
return http.StatusBadRequest
case KindNotFound:
return http.StatusBadRequest
return http.StatusNotFound
case KindStaleData:
return http.StatusConflict