Skip to content

Commit

Permalink
Update Sources/PubNub/Events/New/Entities/EntitySubscribable.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Mamontov <[email protected]>
  • Loading branch information
jguz-pubnub and parfeon authored Feb 18, 2024
1 parent 72f55ad commit f6298bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/PubNub/Events/New/Entities/EntitySubscribable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class UserMetadataRepresentation: Subscribable {

/// Represents channel metadata that can be subscribed to and unsubscribed from using the PubNub service.
public class ChannelMetadataRepresentation: Subscribable {
init(name: String, receiver: SubscribeReceiver) {
super.init(name: name, subscriptionType: .channel, receiver: receiver)
init(id: String, receiver: SubscribeReceiver) {
super.init(name: id, subscriptionType: .channel, receiver: receiver)
}
}

0 comments on commit f6298bf

Please sign in to comment.