mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-24 01:43:18 +00:00
Fix batch requests
This commit is contained in:
parent
679664ca28
commit
c4c3e9ea4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue