Skip to content

Commit

Permalink
fix drive alias
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Nov 13, 2023
1 parent d3f664b commit 671664d
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 @@ -113,7 +113,7 @@ func generateCs3Filters(request *godata.GoDataRequest) ([]*providerpb.ListStorag

func (s *svc) cs3StorageSpaceToDrive(user *userpb.User, space *providerpb.StorageSpace) *libregraph.Drive {
drive := &libregraph.Drive{
DriveAlias: libregraph.PtrString(space.RootInfo.Path),
DriveAlias: libregraph.PtrString(space.RootInfo.Path[1:]),
Id: libregraph.PtrString(space.Id.OpaqueId),
Name: space.Name,
DriveType: libregraph.PtrString(space.SpaceType),
Expand Down

0 comments on commit 671664d

Please sign in to comment.