Merge pull request #3235 from owncloud/fix-spaces-thumbnails

fix spaces thumbnails
This commit is contained in:
David Christofas authored and GitHub committed 2022-02-24 18:55:41 +01:00
commit 93cb085f37
2 files changed
+3 -1

No files matched your search

@@ -3,3 +3,4 @@ Enhancement: Thumbnails in spaces
Added support for thumbnails in spaces.
https://github.com/owncloud/ocis/pull/3219
https://github.com/owncloud/ocis/pull/3235
+2 -1
View File
@@ -52,7 +52,8 @@ func (s CS3) Get(ctx context.Context, path string) (io.ReadCloser, error) {
StorageId: spaceID,
OpaqueId: spaceID,
},
Path: path,
// Spaces requests need relative paths.
Path: "." + path,
}
} else {
ref = &provider.Reference{