From 1ac506d888027ef1019a8c29426f04878abd11e0 Mon Sep 17 00:00:00 2001 From: "Xc@centOs" Date: Wed, 2 Nov 2022 18:29:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/store/UniversalContext.d.ts | 2 +- src/store/UniversalContext.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/store/UniversalContext.d.ts b/lib/store/UniversalContext.d.ts index c01dd56..aa48dd3 100644 --- a/lib/store/UniversalContext.d.ts +++ b/lib/store/UniversalContext.d.ts @@ -28,5 +28,5 @@ export declare abstract class UniversalContext implements rollback(): Promise; getCurrentTxnId(): string | undefined; abstract toString(): Promise; - abstract getCurrentUserId(): Promise; + abstract getCurrentUserId(allowUnloggedIn?: boolean): Promise; } diff --git a/src/store/UniversalContext.ts b/src/store/UniversalContext.ts index 50ef588..1324b84 100644 --- a/src/store/UniversalContext.ts +++ b/src/store/UniversalContext.ts @@ -100,5 +100,5 @@ export abstract class UniversalContext implements Context abstract toString(): Promise; - abstract getCurrentUserId(): Promise; + abstract getCurrentUserId(allowUnloggedIn?: boolean): Promise; } \ No newline at end of file