From b1c0da1ac0dcacfdc412c9323cf55303c141abe3 Mon Sep 17 00:00:00 2001 From: looskie <50378828+Looskie@users.noreply.github.com> Date: Sat, 26 Jun 2021 13:06:46 -0400 Subject: [PATCH] Refactoring: More specific error --- pages/api/[...id].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/[...id].ts b/pages/api/[...id].ts index ed33cd8..ecb8c0c 100644 --- a/pages/api/[...id].ts +++ b/pages/api/[...id].ts @@ -24,7 +24,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse< if (!isSnowflake(userId)) return res.send({ - error: `Specify a valid Discord user ID! If everything looks correct and this still occurs, please contact @cnraddd on Twitter.`, + error: `That is not a valid snowflake ID!`, }); try {