Skip to content

Commit 051b3a0

Browse files
author
Luka Bratos
committed
Revert "Update deprecated method"
This reverts commit af5cd8a.
1 parent af5cd8a commit 051b3a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PusherConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ public typealias PusherEventJSON = [String: AnyObject]
581581
sendAuthorisationRequest(request: request, channel: channel)
582582
return true
583583
case .authRequestBuilder(authRequestBuilder: let builder):
584-
if let request = builder.requestFor?(socketID: socketId, channelName: channel.name) {
584+
if let request = builder.requestFor?(socketID: socketId, channel: channel) {
585585
sendAuthorisationRequest(request: request as URLRequest, channel: channel)
586586

587587
return true

0 commit comments

Comments
 (0)