fix(SW-2921): Fixed issue with countryName missing from locations response

* fix(SW-2921): Added more correct cache key to locations endpoint

Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-05-27 11:46:59 +00:00
parent ec31dcda1a
commit efbed53be4
3 changed files with 10 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export const locationCitySchema = z.object({
name: z.string().optional().default(""),
isPublished: z.boolean(),
}),
country: z.string().optional().default(""),
countryName: z.string().optional().default(""),
id: z.string().optional().default(""),
type: z.literal("cities"),
})