From a691ca5e5167942bf8a5b8b209b64ab3ccc85894 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Tue, 19 Apr 2022 17:46:10 +0800 Subject: [PATCH] updated docs Signed-off-by: wusongqing --- en/application-dev/reference/apis/js-apis-medialibrary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/application-dev/reference/apis/js-apis-medialibrary.md b/en/application-dev/reference/apis/js-apis-medialibrary.md index 4ad2261707..5499cc8155 100644 --- a/en/application-dev/reference/apis/js-apis-medialibrary.md +++ b/en/application-dev/reference/apis/js-apis-medialibrary.md @@ -2002,7 +2002,7 @@ async function example() { commitModify(): Promise<void> -Commits the modification of the album attributes to the database. This API uses an asynchronous callback to return the result. +Commits the modification of the album attributes to the database. This API uses a promise to return the result. **Required permissions**: ohos.permission.READ_MEDIA and ohos.permission.WRITE_MEDIA -- GitLab