From 37da0107ed23204e959bea733c79c5aa5fbcd7da Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 20 Nov 2024 02:48:18 +0000 Subject: [PATCH] fix imports --- dev/playerCachesArchive.mts | 2 +- dev/streamArchive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();