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

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

View File

@@ -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

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{