Skip to content

Commit

Permalink
update typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Nov 12, 2024
1 parent 3eb69e1 commit c4758a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ public class XMTPModule: Module {

AsyncFunction("isAdmin") {
(clientInboxId: String, id: String, inboxId: String) -> Bool in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand All @@ -1014,7 +1014,7 @@ public class XMTPModule: Module {

AsyncFunction("isSuperAdmin") {
(clientInboxId: String, id: String, inboxId: String) -> Bool in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand Down Expand Up @@ -1053,7 +1053,7 @@ public class XMTPModule: Module {

AsyncFunction("addAdmin") {
(clientInboxId: String, id: String, inboxId: String) in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand All @@ -1066,7 +1066,7 @@ public class XMTPModule: Module {

AsyncFunction("addSuperAdmin") {
(clientInboxId: String, id: String, inboxId: String) in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand All @@ -1079,7 +1079,7 @@ public class XMTPModule: Module {

AsyncFunction("removeAdmin") {
(clientInboxId: String, id: String, inboxId: String) in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand All @@ -1092,7 +1092,7 @@ public class XMTPModule: Module {

AsyncFunction("removeSuperAdmin") {
(clientInboxId: String, id: String, inboxId: String) in
guard let client = await clientsManager.getClient(key: inboxId)
guard let client = await clientsManager.getClient(key: clientInboxId)
else {
throw Error.noClient
}
Expand Down

0 comments on commit c4758a8

Please sign in to comment.