From 8d984135c765c4a578f50f2bbf0a664abcddad1e Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Fri, 27 Oct 2023 16:18:35 +0200 Subject: [PATCH] use path as drive alias --- internal/http/services/owncloud/ocgraph/drives.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/services/owncloud/ocgraph/drives.go b/internal/http/services/owncloud/ocgraph/drives.go index 1db152ea590..cc0b154cbe1 100644 --- a/internal/http/services/owncloud/ocgraph/drives.go +++ b/internal/http/services/owncloud/ocgraph/drives.go @@ -108,7 +108,7 @@ func generateCs3Filters(request *godata.GoDataRequest) ([]*providerpb.ListStorag func (s *svc) cs3StorageSpaceToDrive(space *providerpb.StorageSpace) *libregraph.Drive { drive := &libregraph.Drive{ - DriveAlias: libregraph.PtrString(space.SpaceType + "/" + space.Name), + DriveAlias: libregraph.PtrString(space.RootInfo.Path), Id: libregraph.PtrString(space.Id.OpaqueId), Name: space.Name, DriveType: libregraph.PtrString(space.SpaceType),