mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 14:16:15 +01:00
Fix DELETE like 404 response message
This commit is contained in:
parent
50f412cd33
commit
038730da3b
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ func (rt *_router) PutDeleteLike(w http.ResponseWriter, r *http.Request, ps http
|
||||||
}
|
}
|
||||||
|
|
||||||
if success == database.ERR_NOT_FOUND {
|
if success == database.ERR_NOT_FOUND {
|
||||||
helpers.SendNotFound(w, "User or photo not found", rt.baseLogger)
|
helpers.SendNotFound(w, "Resource not found", rt.baseLogger)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue