handle test

This commit is contained in:
Daniel 2024-07-27 21:27:48 -04:00
parent a25aaccbf3
commit 4c522ff2b8

View file

@ -83,6 +83,11 @@ func (s *Server) routeCallUpload(w http.ResponseWriter, r *http.Request) {
return
}
if r.Form.Get("test") == "1" {
w.Write([]byte("Test succeeded"))
return
}
call := new(callUploadRequest)
err = call.fill(r)
if err != nil {