diff --git a/Tesses.YouTubeDownloader.Server/src/main.tcross b/Tesses.YouTubeDownloader.Server/src/main.tcross index 9135861..8b8d8b2 100644 --- a/Tesses.YouTubeDownloader.Server/src/main.tcross +++ b/Tesses.YouTubeDownloader.Server/src/main.tcross @@ -48,7 +48,7 @@ class TYTDApp { var v = ctx.QueryParams.TryGetFirst("v"); if(TypeIsString(v)) { - const video = this.TYTD.GetVideo(id); + const video = this.TYTD.GetVideo(v); if(TypeIsDefined(video)) { ctx.WithMimeType("text/html").SendText(Pages.VideoEmbed(v, video.title));