Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

fix: threads locale through resaveChildren#24

Merged
jacobsfletch merged 2 commits into
mainfrom
fix/resave-localized-children
Jul 10, 2023
Merged

fix: threads locale through resaveChildren#24
jacobsfletch merged 2 commits into
mainfrom
fix/resave-localized-children

Conversation

@jacobsfletch
Copy link
Copy Markdown
Member

Closes #23 by threading locale through resaveChildren. Previously, we were only updating the default locale in our recursive function. Now, we pass the user's current locale via req.locale.

@jacobsfletch jacobsfletch merged commit 4ce81c2 into main Jul 10, 2023
@jacobsfletch jacobsfletch deleted the fix/resave-localized-children branch July 10, 2023 20:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with updating child pages if NOT in defaultLang

1 participant