From 499a9f86502f8ecefcd7d386d0a9c4deaf6e5206 Mon Sep 17 00:00:00 2001 From: kitt Date: Thu, 2 Mar 2023 21:01:50 -0500 Subject: [PATCH] cleanup --- src/exporters/mongodb.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/exporters/mongodb.ts b/src/exporters/mongodb.ts index 2a38da8..f73a225 100644 --- a/src/exporters/mongodb.ts +++ b/src/exporters/mongodb.ts @@ -2,7 +2,6 @@ import { MongoDB } from "../../deps.ts"; import { AGENT_VERSION, NSOAPP_VERSION, S3SI_VERSION } from "../constant.ts"; import { CoopHistoryDetail, ExportResult, Game, GameExporter, Summary, VsHistoryDetail } from "../types.ts"; import { parseHistoryDetailId } from "../utils.ts"; -import { FileExporterTypeCommon } from "./file.ts"; export class MongoDBExporter implements GameExporter { name = "mongodb"; @@ -31,7 +30,6 @@ export class MongoDBExporter implements GameExporter { const collection = type === "CoopInfo" ? this.jobsCollection : this.battlesCollection; for (const id of list) { - const uniqueId = MongoDBExporter.getGameId(id); const countNewStorage = await collection.countDocuments({ gameId: uniqueId,