call seeding function

This commit is contained in:
2025-01-09 13:23:21 -08:00
parent 404c391dfa
commit 798a708793

View File

@@ -28,6 +28,11 @@ async function main() {
// TODO: Migrate all logic over to this repository
const apiBasedRepository = new ApiBasedRepository();
const systemIds = ["263"];
await Promise.all(systemIds.map(async (systemId) => {
await apiBasedRepository.seedCacheForSystemId(systemId);
}));
const { url } = await startStandaloneServer(server, {
listen: {
port: process.env.PORT ? parseInt(process.env.PORT) : 4000,