Skip to content

Commit

Permalink
Fixed recordProtectionInfo (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
horrorho committed Aug 17, 2018
1 parent d4f6486 commit 36fe89a
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public final class MBKSyncClient {
.map(CloudKit.ZoneRetrieveResponse::getZoneSummaryList)
.flatMap(Collection::stream)
.map(CloudKit.ZoneRetrieveResponse.ZoneSummary::getTargetZone)
.filter(CloudKit.Zone::hasProtectionInfo)
.map(CloudKit.Zone::getProtectionInfo)
.filter(CloudKit.Zone::hasRecordProtectionInfo)
.map(CloudKit.Zone::getRecordProtectionInfo)
.collect(Collectors.toList());
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main/resources/cloud_kit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ message Zone {
optional RecordZoneIdentifier zoneIdentifier = 1;
optional string etag= 2;
optional ProtectionInfo protectionInfo = 3;
optional ProtectionInfo recordProtectionInfo = 6;
}

message FileTokens {
Expand Down

0 comments on commit 36fe89a

Please sign in to comment.