diff --git a/server/src/external/mongo/schemas.ts b/server/src/external/mongo/schemas.ts index c00b584a4..263df8bfe 100644 --- a/server/src/external/mongo/schemas.ts +++ b/server/src/external/mongo/schemas.ts @@ -396,7 +396,7 @@ export const DatabaseSchemas: Record = { return prSchemaify( Object.assign(PR_GameStats(game, playtype, gptConfig), { - ranking: Object.fromEntries( + rankings: Object.fromEntries( gptConfig.profileRatingAlgs.map((e) => [e, p.isPositiveNonZeroInteger]) ), playcount: p.isPositiveInteger,