[CHANGE] Small optimizations
This commit is contained in:
@@ -228,7 +228,7 @@ public class LibraryService : ILibraryService
|
||||
return ResultError.Error(e);
|
||||
}
|
||||
|
||||
if (context.Channels.Any(c => c.Id == innertubeChannel.Id))
|
||||
if (channelResult.IsSuccess)
|
||||
{
|
||||
context.Channels.Update(channelEntity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user