Signed-off-by: zhouhongli2023 <zhouhongli5@huawei.com>
This commit is contained in:
zhouhongli2023
2023-08-08 20:53:32 +08:00
parent 62b43e7f78
commit 754acc29ed
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
"app": {
"bundleName": "com.ohos.contactsdataability",
"vendor": "ohos",
"versionCode": 1000010,
"versionName": "1.0.10",
"versionCode": 1000011,
"versionName": "1.0.11",
"icon": "",
"label": "$string:app_name",
"generateBuildHash": true,
-2
View File
@@ -942,8 +942,6 @@ void LocalExecute(napi_env env, ExecuteHelper *executeHelper)
{
if (executeHelper->dataShareHelper == nullptr) {
HILOG_ERROR("create dataShareHelper is null, please check your permission");
napi_value addContactErrorCode = ContactsNapiUtils::CreateError(env, PERMISSION_ERROR);
napi_throw(env, addContactErrorCode);
executeHelper->resultData = RDB_PERMISSION_ERROR;
return;
}