Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Consolidate list adding/editing code #7
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.
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.