working commit

This commit is contained in:
2026-01-23 19:26:56 +02:00
parent 772657d9be
commit d704a76bee
10 changed files with 161 additions and 76 deletions
+8 -3
View File
@@ -8,7 +8,12 @@ import (
func (hand *Handler) FileExists(rctx *router.Context) {
hand.logg.Debugf("handle FileExists")
params := &operator.FileExistsParams{}
res, _ := hand.oper.FileExists(params)
rctx.SetStatus(res.Code)
filepath := rctx.PathMap["filepath"]
params := &operator.FileExistsParams{
Filepath: filepath,
}
hand.logg.Debugf("filepath: %s", filepath)
code, _, _ := hand.oper.FileExists(params)
rctx.SetStatus(code)
}