From 86a02a57c31d672328a38aa1fe52d9ff4b0de3ab Mon Sep 17 00:00:00 2001 From: zhangalong Date: Wed, 9 Mar 2022 10:54:13 +0800 Subject: [PATCH] fixed ca26683 from https://gitee.com/zhang_along/interface_sdk-js/pulls/1000 new permission definition for app accounts Signed-off-by:zhang_along Signed-off-by: zhangalong --- api/@ohos.account.appAccount.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.account.appAccount.d.ts b/api/@ohos.account.appAccount.d.ts index 0a1f50f89b..1d06c863ab 100644 --- a/api/@ohos.account.appAccount.d.ts +++ b/api/@ohos.account.appAccount.d.ts @@ -194,7 +194,7 @@ declare namespace appAccount { * * @since 7 * @return Returns a list of application accounts. - * @permission ohos.permission.GET_ACCOUNTS_PRIVILEGED. + * @permission ohos.permission.GET_ALL_APP_ACCOUNTS. */ getAllAccessibleAccounts(callback: AsyncCallback>): void; getAllAccessibleAccounts(): Promise>; @@ -212,7 +212,7 @@ declare namespace appAccount { * @since 7 * @param owner Indicates the account owner of your application or third-party applications. * @return Returns a list of application accounts. - * @permission ohos.permission.GET_ACCOUNTS_PRIVILEGED. + * @permission ohos.permission.GET_ALL_APP_ACCOUNTS. */ getAllAccounts(owner: string, callback: AsyncCallback>): void; getAllAccounts(owner: string): Promise>; -- Gitee