Fix typo in API route