Fix download aggs refresh only on video finished (#800)

This commit is contained in:
Merlin
2024-11-08 06:15:56 +01:00
committed by GitHub
parent c008e1bfba
commit b269f6ad90
2 changed files with 23 additions and 4 deletions

View File

@@ -2,8 +2,13 @@ import defaultHeaders from '../../configuration/defaultHeaders';
import getApiUrl from '../../configuration/getApiUrl';
import getFetchCredentials from '../../configuration/getFetchCredentials';
import isDevEnvironment from '../../functions/isDevEnvironment';
import { DownloadResponseType } from '../../pages/Download';
const loadDownloadQueue = async (page: number, channelId: string | null, showIgnored: boolean) => {
const loadDownloadQueue = async (
page: number,
channelId: string | null,
showIgnored: boolean,
): Promise<DownloadResponseType> => {
const apiUrl = getApiUrl();
const searchParams = new URLSearchParams();