feat: updates

This commit is contained in:
Zamitto 2024-10-22 10:17:54 -03:00
parent 3ade87fe0b
commit 57e4bd4d27
10 changed files with 132 additions and 84 deletions

View file

@ -12,7 +12,6 @@ import { UserPreferences } from "./entity";
import { RealDebridClient } from "./services/real-debrid";
import { HydraApi } from "./services/hydra-api";
import { uploadGamesBatch } from "./services/library-sync";
import { getUserData } from "./services/user/get-user-data";
const loadState = async (userPreferences: UserPreferences | null) => {
import("./events");
@ -23,8 +22,7 @@ const loadState = async (userPreferences: UserPreferences | null) => {
Ludusavi.addManifestToLudusaviConfig();
await HydraApi.setupApi().then(async () => {
await getUserData().catch(() => {});
HydraApi.setupApi().then(() => {
uploadGamesBatch();
});