mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 08:06:56 +00:00
변수 네이밍 규칙 관련 리팩토링
This commit is contained in:
@@ -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" } });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user