Skip to content

Commit c5e336a

Browse files
committed
Fix missing identity and authenticator in StartMultipeerReplicator
1 parent ac71788 commit c5e336a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

servers/ios/TestServer/ContentTypes/StartMultipeerReplicatorRequest.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ extension ContentTypes {
1212
let peerGroupID: String
1313
let database: String
1414
let collections: [ReplicationCollection]
15+
let identity: MultipeerReplicatorIdentity
16+
let authenticator: MultipeerReplicatorCAAuthenticator?
1517
}
1618
}

servers/ios/TestServer/Handlers/StartMultipeerReplicator.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ extension Handlers {
1818
var config = ContentTypes.MultipeerReplicatorConfiguration(
1919
peerGroupID: request.peerGroupID,
2020
database: request.database,
21-
collections: request.collections)
21+
collections: request.collections,
22+
identity: request.identity,
23+
authenticator: request.authenticator)
2224

2325
let id = try dbManager.startMultipeerReplicator(config: config)
2426

0 commit comments

Comments
 (0)