mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 18:10:54 +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);
|
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.Headers.TryAddWithoutValidation("token", token);
|
||||||
message.Content = JsonContent.Create(batch, options: _jsonOptions);
|
message.Content = JsonContent.Create(batch, options: _jsonOptions);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user