From 576e8a18ad649777c68fac290157e32f81524316 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Thu, 24 Mar 2022 10:23:46 +0800 Subject: [PATCH] update docs Signed-off-by: shawn_he --- en/application-dev/reference/apis/js-apis-contact.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-contact.md b/en/application-dev/reference/apis/js-apis-contact.md index 84ff9b995a..9a4574e069 100644 --- a/en/application-dev/reference/apis/js-apis-contact.md +++ b/en/application-dev/reference/apis/js-apis-contact.md @@ -398,7 +398,7 @@ Queries my card. This API uses an asynchronous callback to return the result. queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void -Queries my card based on the specified specified contact attributes. This API uses an asynchronous callback to return the result. +Queries my card based on the specified contact attributes. This API uses an asynchronous callback to return the result. **Permission required**: ohos.permission.READ_CONTACTS @@ -429,7 +429,7 @@ Queries my card based on the specified specified contact attributes. This API us queryMyCard(attrs?: ContactAttributes): Promise<Contact> -Queries my card based on the specified specified contact attributes. This API uses a promise to return the result. +Queries my card based on the specified contact attributes. This API uses a promise to return the result. **Permission required**: ohos.permission.READ_CONTACTS -- GitLab