I think I found the bug it was just a semicolon at the end of app.post