feat: implement patch test management and validation improvements
This commit is contained in:
@@ -102,7 +102,7 @@ func CreatePatchTest(w http.ResponseWriter, r *http.Request) {
|
||||
func UpdatePatchTest(w http.ResponseWriter, r *http.Request) {
|
||||
id := chi.URLParam(r, "id")
|
||||
if id == "" || !validators.IsValidID(id) {
|
||||
http.Error(w, "Patch test not found", http.StatusNotFound)
|
||||
http.Error(w, "Patch test not found (ID: " + id + ")", http.StatusNotFound)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user