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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user