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

Add a PUT route and database functions to update a fish (by id) #77

Open
bas-ie opened this issue Dec 2, 2018 · 0 comments
Open

Add a PUT route and database functions to update a fish (by id) #77

bas-ie opened this issue Dec 2, 2018 · 0 comments
Assignees
Labels
database server Backend feature

Comments

@bas-ie
Copy link
Contributor

bas-ie commented Dec 2, 2018

Hopefully we can add fish by now: let's make sure we can update existing ones too. Add a route to handle:

PUT /api/v1/fish/:id

You'll need to write a database function to update a fish, and return the updated fish to the client using res.json.

Don't forget to update the wiki accordingly 😄 ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database server Backend feature
Projects
None yet
Development

No branches or pull requests

2 participants