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:
@@ -440,7 +440,7 @@ export const locationsSchema = z.object({
|
||||
if (location.type === "cities") {
|
||||
return {
|
||||
...location.attributes,
|
||||
country: location?.country ?? "",
|
||||
country: location?.countryName || "",
|
||||
id: location.id,
|
||||
type: location.type,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user