diff --git a/services/graph/pkg/service/v0/api_driveitem_permissions.go b/services/graph/pkg/service/v0/api_driveitem_permissions.go index f236a6e76a1..6f843b40422 100644 --- a/services/graph/pkg/service/v0/api_driveitem_permissions.go +++ b/services/graph/pkg/service/v0/api_driveitem_permissions.go @@ -562,7 +562,7 @@ func (s DriveItemPermissionsService) UpdatePermission(ctx context.Context, itemI if s.config.IncludeOCMSharees { updatePermission, err := s.updateOCMPermission(ctx, permissionID, itemID, &newPermission) if err == nil { - return *updatePermission, err + return *updatePermission, nil } } return libregraph.Permission{}, err