working commit

This commit is contained in:
2026-02-18 23:24:14 +02:00
parent 4a43a22c19
commit 13c8d50f53
-3
View File
@@ -374,7 +374,6 @@ func (oper *Operator) DeleteColletion(ctx context.Context, operID string, param
code := http.StatusInternalServerError
return code, res, err
}
oper.logg.Debugf("=== %s", param.Path)
fileDescrs, err := oper.mdb.ListFilesByCollection(ctx, param.Path)
if err != nil {
code := http.StatusInternalServerError
@@ -386,8 +385,6 @@ func (oper *Operator) DeleteColletion(ctx context.Context, operID string, param
if err != nil {
oper.logg.Warningf("%v", err)
err = nil
//code := http.StatusInternalServerError
//return code, res, err
}
err = oper.mdb.DeleteFileByCollectionName(ctx, file.Collection, file.Name)
if err != nil {