[REWORK] Changes saving client and channel info
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Manager.YouTube.Parsers.Json;
|
||||
|
||||
public static class ChannelJsonParser
|
||||
{
|
||||
public static Result<Channel> ParseJsonToChannelData(string json)
|
||||
public static Result<InnertubeChannel> ParseJsonToChannelData(string json)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -23,7 +23,7 @@ public static class ChannelJsonParser
|
||||
throw new InvalidOperationException("No channel id found.");
|
||||
}
|
||||
|
||||
var channel = new Channel
|
||||
var channel = new InnertubeChannel
|
||||
{
|
||||
Id = channelId,
|
||||
ChannelName = channelMetadata.GetProperty("title").ToString(),
|
||||
|
Reference in New Issue
Block a user