diff --git a/japicore/pathRouteHandling.go b/japicore/pathRouteHandling.go index a18d117..405088a 100644 --- a/japicore/pathRouteHandling.go +++ b/japicore/pathRouteHandling.go @@ -304,10 +304,6 @@ func (j JApiCore) LoadFolderContentsByPathHandler() bunrouter.HandlerFunc { operatingRoot := "s/" + JAPI_OP_ROOT location := req.Param("location") - if len(location) == 0 { - warning := "Failed to get Location" - return jutils.ProcessCustomHttpError("LoadFolderContentsByPathHandler", warning, 404, w) - } uniquePath := readUniquePath(req) if len(uniquePath) > 0 {