diff --git a/src/EllieBot/EllieBot.csproj b/src/EllieBot/EllieBot.csproj index 27d84c7..f2fd198 100644 --- a/src/EllieBot/EllieBot.csproj +++ b/src/EllieBot/EllieBot.csproj @@ -4,7 +4,7 @@ enable true en - 5.1.16 + 5.1.17 $(MSBuildProjectDirectory) diff --git a/src/EllieBot/Modules/Searches/Search/Youtube/YoutubeDataApiSearchService.cs b/src/EllieBot/Modules/Searches/Search/Youtube/YoutubeDataApiSearchService.cs index 9c69a5e..b39d035 100644 --- a/src/EllieBot/Modules/Searches/Search/Youtube/YoutubeDataApiSearchService.cs +++ b/src/EllieBot/Modules/Searches/Search/Youtube/YoutubeDataApiSearchService.cs @@ -18,6 +18,9 @@ public sealed class YoutubeDataApiSearchService : IYoutubeSearchService, IEServi if (results.Count == 0) return null; - return results.Map(r => new VideoInfo(r)); + return results.Map(r => new VideoInfo() + { + Url = r + }); } } \ No newline at end of file