fix: upgrade mongoose to 9.11.4 and align community model type

This commit is contained in:
dahyeon committed 2026-11-11 20:26:38 +09:00
1 parent 2d8027cb16
commit 5882585f69
3 files changed
+28 -27

No files matched your search

@@ -7,6 +7,7 @@ import { readFile } from 'node:fs/promises';
import { resolve } from 'node:path';
import { ConnectionService, resolveMongoDbName } from '../connection.service';
import type {
Community,
MatchGameResult,
MatchParticipant,
MatchSeriesResult,
@@ -260,7 +261,7 @@ async function main() {
}
async function resolveCommunity(
CommunityModel: mongoose.Model<unknown>,
CommunityModel: mongoose.Model<Community>,
communityId?: string,
): Promise<CommunityLean> {
const community = communityId