Skip to content

Commit

Permalink
fix push build
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Jan 16, 2023
1 parent 4a5c752 commit f4c5d51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/WalletConnectPush/Push.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ public class Push {
private init() { }

/// Wallet's configuration method
static public func configure() {
var clientId: String!
try! Networking.interactor.getClientId()
static public func configure() throws {
let clientId = try Networking.interactor.getClientId()
Push.config = Push.Config(clientId: clientId)
}

Expand Down

0 comments on commit f4c5d51

Please sign in to comment.