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

refactor: simplify add media api to accept fewer params for embedded tag #339

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

vnugent
Copy link
Contributor

@vnugent vnugent commented Jul 12, 2023

Fix #334

addNewMediaObject mutation used to require a full entity tag document. It now accepts only entityId (climb or area id) and type (climb or area) and looks up the entity itself. This allows the frontend to tag climb/area when uploading photos from a climb or area page.

refactor: seed-db script should only download db file once
@vnugent vnugent marked this pull request as ready for review July 12, 2023 17:55
@vnugent vnugent merged commit 110b0c2 into develop Jul 12, 2023
1 check passed
@vnugent vnugent deleted the refactor-334 branch July 12, 2023 17:56
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.

Simplify tag api
1 participant