Skip to content

Commit

Permalink
fix spelling [alreadyClaimedName].ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Pronoss authored Jan 26, 2025
1 parent 72d88d2 commit cdb1852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/pages/api/name/[alreadyClaimedName].ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse<ApiResponse>) {
res.status(200).json({ suggestion: JSON.parse(suggestion.response) as string[] });
} catch (e) {
if (e instanceof Error) {
logger.error('error generating sugestions', e);
logger.error('error generating suggestions', e);
res.status(500).json({ error: `failed to generate suggestions` });
}
}
Expand Down

0 comments on commit cdb1852

Please sign in to comment.