fix(ocis): fix trash command

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2024-07-22 12:48:24 +02:00
parent 9059045b23
commit be6b3a0017
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1,5 @@
Enhancement: Fix trash command
The `ocis trash purge-empty-dirs` command should work on any storage provider, not just `storage/users`.
https://github.com/owncloud/ocis/pull/9665
+1 -1
View File
@@ -9,7 +9,7 @@ import (
const (
// _trashGlobPattern is the glob pattern to find all trash items
_trashGlobPattern = "storage/users/spaces/*/*/trash/*/*/*/*"
_trashGlobPattern = "spaces/*/*/trash/*/*/*/*"
)
// PurgeTrashEmptyPaths purges empty paths in the trash