Skip to content

Commit 0c5f27b

Browse files
funkyboyTomKemp
authored andcommitted
Fix compilation warning (#232)
Warning was `Parameter 'channelName' not found in the function declaration`
1 parent 974d71b commit 0c5f27b

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
@@ -221,7 +221,7 @@ import CryptoSwift
221221

222222
- parameter event: The name of the event
223223
- parameter data: The data to be stringified and sent
224-
- parameter channelName: The name of the channel
224+
- parameter channel: The name of the channel
225225
*/
226226
open func sendEvent(event: String, data: Any, channel: PusherChannel? = nil) {
227227
if event.components(separatedBy: "-")[0] == "client" {

0 commit comments

Comments
 (0)