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

Tags need to be added in the api/events/create route #3

Open
abir-taheer opened this issue Mar 22, 2020 · 0 comments
Open

Tags need to be added in the api/events/create route #3

abir-taheer opened this issue Mar 22, 2020 · 0 comments
Assignees

Comments

@abir-taheer
Copy link
Contributor

File: https://github.com/blockchainsforschools/events-backend/blob/master/api/events/create.js

Import the Tags model from the "database/models" module and then for each of the tags sent in the post body, make an entry in the Tags table with the id of the newly created event object.

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

No branches or pull requests

2 participants