Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Jan 12, 2023
1 parent 495d788 commit e4f964b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/WalletConnectEcho/Register/EchoRegisterService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actor EchoRegisterService {
private let clientId: String
private let logger: ConsoleLogging
// DID method specific identifier
private var clientIdMutlibas: String {
private var clientIdMutlibase: String {
return clientId.replacingOccurrences(of: "did:key:", with: "")
}

Expand All @@ -31,7 +31,7 @@ actor EchoRegisterService {
logger.debug("APNS device token: \(token)")
let response = try await httpClient.request(
EchoResponse.self,
at: EchoAPI.register(clientId: clientIdMutlibas, token: token, projectId: projectId)
at: EchoAPI.register(clientId: clientIdMutlibase, token: token, projectId: projectId)
)
guard response.status == .ok else {
throw Errors.registrationFailed
Expand All @@ -42,7 +42,7 @@ actor EchoRegisterService {
public func register(deviceToken: String) async throws {
let response = try await httpClient.request(
EchoResponse.self,
at: EchoAPI.register(clientId: clientIdMutlibas, token: deviceToken, projectId: projectId)
at: EchoAPI.register(clientId: clientIdMutlibase, token: deviceToken, projectId: projectId)
)
guard response.status == .ok else {
throw Errors.registrationFailed
Expand Down

0 comments on commit e4f964b

Please sign in to comment.