diff --git a/internal/http/services/owncloud/ocgraph/drives.go b/internal/http/services/owncloud/ocgraph/drives.go index 44521e82295..1db152ea590 100644 --- a/internal/http/services/owncloud/ocgraph/drives.go +++ b/internal/http/services/owncloud/ocgraph/drives.go @@ -108,9 +108,10 @@ func generateCs3Filters(request *godata.GoDataRequest) ([]*providerpb.ListStorag func (s *svc) cs3StorageSpaceToDrive(space *providerpb.StorageSpace) *libregraph.Drive { drive := &libregraph.Drive{ - Id: libregraph.PtrString(space.Id.OpaqueId), - Name: space.Name, - DriveType: libregraph.PtrString(space.SpaceType), + DriveAlias: libregraph.PtrString(space.SpaceType + "/" + space.Name), + Id: libregraph.PtrString(space.Id.OpaqueId), + Name: space.Name, + DriveType: libregraph.PtrString(space.SpaceType), Root: &libregraph.DriveItem{ Id: libregraph.PtrString(space.Id.OpaqueId), Permissions: cs3PermissionsToLibreGraph(space.RootInfo.PermissionSet),