Skip to content

Commit

Permalink
This should not fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
portdeveloper committed Dec 1, 2024
1 parent bb26963 commit e858f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextjs/pages/api/og.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function handler(request: NextRequest) {
const isEnsValid = /\.(eth|xyz)$/.test(addyOrEns as string);

if (!isAddressValid && !isEnsValid) {
return new Response("Invalid address or ENS", { status: 400 });
return new Response("Invalid address or ENS!", { status: 400 });
}

const response = await fetch(`https://api.ensdata.net/${addyOrEns}`);
Expand Down

0 comments on commit e858f55

Please sign in to comment.