This commit is contained in:
Hachi-R 2024-12-22 22:40:51 -03:00
parent 3aa8230e17
commit 35d14b33ca

View File

@ -1,5 +1,8 @@
import { DownloadManager, Ludusavi, startMainLoop } from "./services";
import { downloadQueueRepository, userPreferencesRepository } from "./repository";
import {
downloadQueueRepository,
userPreferencesRepository,
} from "./repository";
import { UserPreferences } from "./entity";
import { RealDebridClient } from "./services/download/real-debrid";
import { HydraApi } from "./services/hydra-api";
@ -24,7 +27,6 @@ const loadState = async (userPreferences: UserPreferences | null) => {
uploadGamesBatch();
});
const [nextQueueItem] = await downloadQueueRepository.find({
order: {
id: "DESC",