diff --git a/services/graph/pkg/service/v0/driveitems.go b/services/graph/pkg/service/v0/driveitems.go index b1c5c825de..58b87cf38b 100644 --- a/services/graph/pkg/service/v0/driveitems.go +++ b/services/graph/pkg/service/v0/driveitems.go @@ -215,8 +215,8 @@ func (g Graph) getPathForResource(ctx context.Context, id storageprovider.Resour return res.Path, err } -// GetExtendedSpaceProperties reads properties from the opaque and transforms them into driveItems -func (g Graph) GetExtendedSpaceProperties(ctx context.Context, baseURL *url.URL, space *storageprovider.StorageSpace) []libregraph.DriveItem { +// getExtendedSpaceProperties reads properties from the opaque and transforms them into driveItems +func (g Graph) getExtendedSpaceProperties(ctx context.Context, baseURL *url.URL, space *storageprovider.StorageSpace) []libregraph.DriveItem { var spaceItems []libregraph.DriveItem if space.Opaque == nil { return nil diff --git a/services/graph/pkg/service/v0/drives.go b/services/graph/pkg/service/v0/drives.go index f222bf7f69..7e06c66d38 100644 --- a/services/graph/pkg/service/v0/drives.go +++ b/services/graph/pkg/service/v0/drives.go @@ -469,7 +469,7 @@ func (g Graph) formatDrives(ctx context.Context, baseURL *url.URL, storageSpaces // can't access disabled space if utils.ReadPlainFromOpaque(storageSpace.Opaque, "trashed") != "trashed" { - res.Special = g.GetExtendedSpaceProperties(ctx, baseURL, storageSpace) + res.Special = g.getExtendedSpaceProperties(ctx, baseURL, storageSpace) res.Quota, err = g.getDriveQuota(ctx, storageSpace) if err != nil { return nil, err