Rosalina 2023-04-16 23:46:01 -04:00
parent 261b19c40b
commit 32d4586cce
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -113,8 +113,9 @@ export class MongoDBExporter implements GameExporter {
};
}
async exportStages(stages: RespMap[Queries.StageRecordQuery]["stageRecords"]["nodes"]): Promise<ExportResult> {
async exportStages(
stages: RespMap[Queries.StageRecordQuery]["stageRecords"]["nodes"],
): Promise<ExportResult> {
for (const stage of stages) {
await this.mongoDb.collection("stages").updateOne({
"stage.id": stage.id,
@ -127,6 +128,6 @@ export class MongoDBExporter implements GameExporter {
return {
status: "success",
}
};
}
}