Fix API route.