ci: fixing release pipeline

This commit is contained in:
Chubby Granny Chaser
2025-10-28 21:38:07 +00:00
parent 6b96c99bb1
commit a11b3e8877
5 changed files with 8 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ const addDownloadSource = async (
try {
const existingSources = await downloadSourcesSublevel.values().all();
const urlExists = existingSources.some((source) => source.url === url);
if (urlExists) {
throw new Error("Download source with this URL already exists");
}

View File

@@ -53,10 +53,8 @@ export const loadState = async () => {
await HydraApi.setupApi().then(async () => {
uploadGamesBatch();
void migrateDownloadSources();
const { syncDownloadSourcesFromApi } = await import(
"./services/user"
);
const { syncDownloadSourcesFromApi } = await import("./services/user");
void syncDownloadSourcesFromApi();
// WSClient.connect();
});

View File

@@ -1,3 +1,2 @@
export * from "./get-user-data";
export * from "./sync-download-sources";

View File

@@ -39,4 +39,3 @@ export const syncDownloadSourcesFromApi = async () => {
logger.error("Failed to sync download sources from API:", error);
}
};