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.
This commit is contained in:
evanpelle
2026-03-03 13:15:57 -08:00
parent 1f05e22277
commit c77f579969
+1 -1
View File
@@ -43,7 +43,7 @@ export const DiscordUserSchema = z.object({
export type DiscordUser = z.infer<typeof DiscordUserSchema>;
const SingleplayerMapAchievementSchema = z.object({
mapName: z.enum(GameMapType),
mapName: z.string(),
difficulty: z.enum(Difficulty),
});