[CHANGE] GetChannel impl
This commit is contained in:
@@ -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)
|
||||
{
|
||||
@@ -206,6 +206,6 @@ public static class NetworkService
|
||||
var jsonContent = await response.Content.ReadAsStringAsync();
|
||||
|
||||
|
||||
return Result.Fail(ResultError.Fail("Not implemented!"));
|
||||
return ResultError.Fail("Not implemented!");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user