feat: implement patch test management and validation improvements

This commit is contained in:
2026-05-29 20:21:26 +01:00
parent ddaa468a3e
commit ef650e013a
7 changed files with 222 additions and 147 deletions
+1 -1
View File
@@ -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
}