feat: adding integration tests
This commit is contained in:
@@ -104,7 +104,7 @@ func GetPathParamID(logger *log.Logger, param string, w http.ResponseWriter, r *
|
||||
}
|
||||
|
||||
uuidParam, err := uuid.Parse(pathParam)
|
||||
if len(pathParam) == 0 {
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
|
||||
err := fmt.Errorf("could not parse param: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user