사소한 리팩토링

This commit is contained in:
static
2025-12-26 15:07:59 +09:00
parent 3fc29cf8db
commit d94d14cf83
5 changed files with 33 additions and 50 deletions

View File

@@ -12,7 +12,7 @@ export const requestSessionUpgrade = async (
const trpc = useTRPC();
let id, challenge;
try {
({ id, challenge } = await trpc.auth.upgradeSession.mutate({
({ id, challenge } = await trpc.auth.upgrade.mutate({
encPubKey: encryptKeyBase64,
sigPubKey: verifyKeyBase64,
}));
@@ -26,7 +26,7 @@ export const requestSessionUpgrade = async (
const answerSig = await signMessageRSA(answer, signKey);
try {
await trpc.auth.verifySessionUpgrade.mutate({
await trpc.auth.verifyUpgrade.mutate({
id,
answerSig: encodeToBase64(answerSig),
force,