변수 네이밍 규칙 관련 리팩토링

This commit is contained in:
static
2025-01-08 21:53:32 +09:00
parent db900d8038
commit 5f6894d953
8 changed files with 14 additions and 14 deletions

View File

@@ -12,8 +12,8 @@ export const POST: RequestHandler = async ({ request, cookies, getClientAddress
const zodRes = clientRegisterVerifyRequest.safeParse(await request.json());
if (!zodRes.success) error(400, "Invalid request body");
const { answer, sigAnswer } = zodRes.data;
const { answer, answerSig } = zodRes.data;
await verifyUserClient(userId, getClientAddress(), answer, sigAnswer);
await verifyUserClient(userId, getClientAddress(), answer, answerSig);
return text("Client verified", { headers: { "Content-Type": "text/plain" } });
};