From c77f5799693d5c0c9b71bb2f75d0b2c86a4c8e45 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Tue, 3 Mar 2026 13:15:57 -0800 Subject: [PATCH] bugfix: change SingleplayerMapAchievementSchema.mapName schema to be a string A player got an achievement on the beta deployment for a map that doesn't exist in prod. Now they can't log in on prod because the map doesn't exist. --- src/core/ApiSchemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ApiSchemas.ts b/src/core/ApiSchemas.ts index dafce427d..0afad490b 100644 --- a/src/core/ApiSchemas.ts +++ b/src/core/ApiSchemas.ts @@ -43,7 +43,7 @@ export const DiscordUserSchema = z.object({ export type DiscordUser = z.infer; const SingleplayerMapAchievementSchema = z.object({ - mapName: z.enum(GameMapType), + mapName: z.string(), difficulty: z.enum(Difficulty), });