[CHANGE] GetChannel impl
This commit is contained in:
parent
c528ad9bb3
commit
3db61b599d
1 changed files with 2 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ public static class NetworkService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<Result> GetChannelAsync(string channelId, YouTubeClient client)
|
public static async Task<Result<ChannelFetch>> GetChannelAsync(string channelId, YouTubeClient client)
|
||||||
{
|
{
|
||||||
if (client.External.State == null)
|
if (client.External.State == null)
|
||||||
{
|
{
|
||||||
|
|
@ -206,6 +206,6 @@ public static class NetworkService
|
||||||
var jsonContent = await response.Content.ReadAsStringAsync();
|
var jsonContent = await response.Content.ReadAsStringAsync();
|
||||||
|
|
||||||
|
|
||||||
return Result.Fail(ResultError.Fail("Not implemented!"));
|
return ResultError.Fail("Not implemented!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue