Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 parse gdoc JSON tags in the correct place #3522

Merged
merged 1 commit into from
Apr 19, 2024
Merged

🐛 parse gdoc JSON tags in the correct place #3522

merged 1 commit into from
Apr 19, 2024

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Apr 19, 2024

gdocFromJSON gets called in a few different places that have already correctly parsed the JSON tags object.

This PR moves the JSON tags parsing for DBRawPostGdocWithTags->DBEnrichedPostGdocWithTags to the correct place so that there's no type error from calling JSON.parse([ { id: 1, name: "some-tag" } ])

@ikesau ikesau self-assigned this Apr 19, 2024
@ikesau ikesau merged commit 4ff071e into master Apr 19, 2024
23 of 25 checks passed
@ikesau ikesau deleted the tags-parsing branch April 19, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant