small tweak

This commit is contained in:
Brahim Hadriche committed 2024-12-28 15:38:09 -05:00
1 parent 0d21963d5f
commit ed78f7132b
1 file changed
+5 -1
@@ -345,7 +345,11 @@ namespace InnertubeService
end if
end if
request = Innertube.CreateNextRequest({ "videoId": videoId, "playlistId": mixId }, "")
args = { "playlistId": mixId }
if videoId <> ""
args["videoId"] = videoId
end if
request = Innertube.CreateNextRequest(args, "")
request.Cancellation(cancellation)
response = request.Await()