Merged in feat/SW-3364-destination-list (pull request #2744)

feat(SW-3364): update destination list

* feat(SW-3364): update destination list


Approved-by: Erik Tiekstra
This commit is contained in:
Matilda Landström
2025-09-02 08:36:41 +00:00
parent 0a4bf40a15
commit 89d16c71ff
7 changed files with 11 additions and 61 deletions
@@ -254,11 +254,10 @@ export const destinationOverviewPageQueryRouter = router({
}
})
)
const data = getSortedDestinationsByLanguage(destinations, lang)
const fs = await import("node:fs")
fs.writeFileSync(
`./server/routers/contentstack/destinationOverviewPage/destinations-${lang}.json`,
`../../packages/trpc/lib/routers/contentstack/destinationOverviewPage/destinations-${lang}.json`,
JSON.stringify(data),
{
encoding: "utf-8",