mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
fix: ytdataapiv3 searches will no longer duplicate youtube urls
This commit is contained in:
@@ -18,6 +18,9 @@ public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, INServi
|
||||
if(results.Count == 0)
|
||||
return null;
|
||||
|
||||
return results.Map(r => new VideoInfo(r));
|
||||
return results.Map(r => new VideoInfo()
|
||||
{
|
||||
Url = r
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user