Skip to content

Commit c68c1f0

Browse files
committed
Fix setting pusher var in ViewController of example
1 parent cb34c4b commit c68c1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Example/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ViewController: UIViewController, ConnectionStateChangeDelegate {
2626
// Only use your secret here for testing or if you're sure that there's
2727
// no security risk
2828
let pusherClientOptions = PusherClientOptions(authMethod: .Internal(secret: "YOUR_APP_SECRET"))
29-
let pusher = Pusher(key: "YOUR_APP_KEY", options: pusherClientOptions)
29+
pusher = Pusher(key: "YOUR_APP_KEY", options: pusherClientOptions)
3030

3131
// remove the debugLogger from the client options if you want to remove the
3232
// debug logging, or just change the function below

0 commit comments

Comments
 (0)