Open
Description
- roots that return arrays vs objects (one root must either return array or object, not both)
- extract code within switch statements to separate functions
- things that return arrays can't return 404's
- returning 200's changed to object or array
- functions that return arrays should use plural naming + vice versa
- don't return boolean from a function. should be result or an error