We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4787e8a commit 4076b8aCopy full SHA for 4076b8a
1 file changed
sdks/swift/Sources/DittoChatCore/DittoChat.swift
@@ -165,6 +165,7 @@ public class DittoChat: DittoSwiftChat, ObservableObject {
165
rolesCancellable = p2pStore.ditto.store
166
.observePublisher(
167
query: "SELECT * FROM `roles` WHERE email = :email",
168
+ arguments: ["email": email],
169
mapTo: AdminRole.self
170
)
171
.catch { error in
0 commit comments