From 97ce59111c48ff415a361c9a79b42e4e1d6c6f71 Mon Sep 17 00:00:00 2001 From: 728 Date: Fri, 15 Dec 2023 12:43:28 +0800 Subject: [PATCH] =?UTF-8?q?pas=5Fclr=20=E4=BF=AE=E5=A4=8D=20#45?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ismism.ts/src/pra/pas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ismism.ts/src/pra/pas.ts b/ismism.ts/src/pra/pas.ts index 9697bff..9003348 100644 --- a/ismism.ts/src/pra/pas.ts +++ b/ismism.ts/src/pra/pas.ts @@ -139,7 +139,7 @@ export async function psg( const r = await pas_code(p.nbr, p.code) if (r) return { ret: r.pas, jwt: r.jwt } break - } case "clr": return { ret: await pas_clr(p.usr), jwt: null } + } case "clr": return { ret: pas && pas.usr == p.usr ? await pas_clr(p.usr) : null, jwt: null } } return { ret: null } }