From a5f4eabd3dfc8344a6af3d9899f2390d47765722 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 8 Nov 2025 04:57:12 +0000 Subject: [PATCH] completionId: cgen-431719d7850f496ca6dedea350449b37 cgen-431719d7850f496ca6dedea350449b37 --- api/discord/interactions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/discord/interactions.ts b/api/discord/interactions.ts index b27eabd9..da9dc1a8 100644 --- a/api/discord/interactions.ts +++ b/api/discord/interactions.ts @@ -53,9 +53,9 @@ export default function handler(req: VercelRequest, res: VercelResponse) { // Create public key object for Ed25519 const publicKey = createPublicKey({ key: publicKeyBuffer, - format: "raw", - type: "ed25519", - }); + format: "raw" as any, + type: "ed25519" as any, + } as any); // Verify the signature using Ed25519 const isValid = verify(