Skip to content

Commit

Permalink
use path as drive alias
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Oct 27, 2023
1 parent 4bd334b commit 8d98413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocgraph/drives.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8d98413

Please sign in to comment.