diff --git a/en/application-dev/reference/apis/js-apis-medialibrary.md b/en/application-dev/reference/apis/js-apis-medialibrary.md index 4ad226170704c26f4cf7cf80eabe90acade328bd..5499cc815509f85de6930cf7130d7ac1e74f259a 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