diff --git a/dev/playerCachesArchive.mts b/dev/playerCachesArchive.mts index 68e63131a..683b78469 100644 --- a/dev/playerCachesArchive.mts +++ b/dev/playerCachesArchive.mts @@ -1,6 +1,6 @@ import fs from 'fs'; +import { doArchivePlayerMatches } from '../util/archiveUtil.js'; const { getPlayerMatchesWithMetadata } = await import('../store/queries.js'); -const { doArchivePlayerMatches } = await import('../store/getArchivedData.js'); // Write player blob to archive await doArchivePlayerMatches(88367253); diff --git a/dev/streamArchive.ts b/dev/streamArchive.ts index 150711d53..a242006ff 100644 --- a/dev/streamArchive.ts +++ b/dev/streamArchive.ts @@ -1,4 +1,4 @@ -import { archivePostgresStream } from '../store/getArchivedData'; +import { archivePostgresStream } from "../util/archiveUtil"; // Archive parsed matches from postgres records archivePostgresStream();