Fixed a routing error related to my writing a not so great API route