pubKeyStore와 privKeyStore를 keyPairStore로 통합

This commit is contained in:
static
2024-12-28 18:33:30 +09:00
parent 7267e319b4
commit 173f4f5cfe
4 changed files with 18 additions and 15 deletions

View File

@@ -18,5 +18,5 @@ export const POST: RequestHandler = async ({ request, cookies }) => {
}
await registerPubKey(userId, zodRes.data.pubKey);
return text("Public key registered");
return text("Public key registered", { headers: { "Content-Type": "text/plain" } });
};