mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 04:06:31 +01:00
Fix batch requests
This commit is contained in:
@@ -466,7 +466,7 @@ namespace Jellyfin.LiveTv.Listings
|
||||
{
|
||||
var batch = programIds.Skip(i).Take(BatchSize);
|
||||
|
||||
using var message = new HttpRequestMessage(HttpMethod.Post, ApiUrl + "/metadata/programs");
|
||||
using var message = new HttpRequestMessage(HttpMethod.Post, ApiUrl + "/metadata/programs/");
|
||||
message.Headers.TryAddWithoutValidation("token", token);
|
||||
message.Content = JsonContent.Create(batch, options: _jsonOptions);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user