From f6298bfaf8b2425ff0115d3597cb7dc2626a7ffa Mon Sep 17 00:00:00 2001 From: jguz-pubnub <102806147+jguz-pubnub@users.noreply.github.com> Date: Sun, 18 Feb 2024 21:09:15 +0100 Subject: [PATCH] Update Sources/PubNub/Events/New/Entities/EntitySubscribable.swift Co-authored-by: Serhii Mamontov --- Sources/PubNub/Events/New/Entities/EntitySubscribable.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/PubNub/Events/New/Entities/EntitySubscribable.swift b/Sources/PubNub/Events/New/Entities/EntitySubscribable.swift index ed71ba95..0367ae04 100644 --- a/Sources/PubNub/Events/New/Entities/EntitySubscribable.swift +++ b/Sources/PubNub/Events/New/Entities/EntitySubscribable.swift @@ -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) } }