From cedf07d9ef98e258ae6f6a710a3cf12070cac800 Mon Sep 17 00:00:00 2001 From: cc_ggboy Date: Tue, 29 Aug 2023 07:39:05 +0000 Subject: [PATCH] =?UTF-8?q?account=20ArkTs=E5=91=8A=E8=AD=A6=E6=95=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cc_ggboy --- zh-cn/application-dev/reference/apis/js-apis-osAccount.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md index b9a62ccc22..8c399fbb2c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-osAccount.md +++ b/zh-cn/application-dev/reference/apis/js-apis-osAccount.md @@ -5819,7 +5819,7 @@ addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; let credentialInfo: account_osAccount.CredentialInfo = { credType: account_osAccount.AuthType.PIN, credSubType: account_osAccount.AuthSubType.PIN_SIX, - token: null + token: new Uint8Array([]), }; let userIDM = new account_osAccount.UserIdentityManager(); userIDM.openSession((err: BusinessError, challenge: Uint8Array) => { -- GitLab