Skip to content

Commit 4076b8a

Browse files
authored
Arguments for Map Call (#104)
1 parent 4787e8a commit 4076b8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdks/swift/Sources/DittoChatCore/DittoChat.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ public class DittoChat: DittoSwiftChat, ObservableObject {
165165
rolesCancellable = p2pStore.ditto.store
166166
.observePublisher(
167167
query: "SELECT * FROM `roles` WHERE email = :email",
168+
arguments: ["email": email],
168169
mapTo: AdminRole.self
169170
)
170171
.catch { error in

0 commit comments

Comments
 (0)