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

Consolidate list adding/editing code #7

MattIPv4 opened this issue Oct 6, 2019 · 0 comments


Copy link

commented Oct 6, 2019

Website/API Suggestion


The code that is used on the post routes for adding a new list and editing an existing list is almost identical and it this should be consolidated down to a single set of code that bot routes can call to.

Adding: src/Routes/Lists.js#L226-L269
Editing: src/Routes/Lists.js#L321-L393


Code duplication is a pain to deal with and keep track of. If we added new bits to the list model, both routes may need to be updated etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.