Skip to content

Commit

Permalink
allow querying root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Jan 24, 2024
1 parent 14ae7e5 commit b557891
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions japicore/pathRouteHandling.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b557891

Please sign in to comment.