From 8dacd5ea7b4905ae7e7bf9569739b1fbe543c05d Mon Sep 17 00:00:00 2001 From: 15151839515 Date: Tue, 21 Nov 2023 17:21:42 +0800 Subject: [PATCH] =?UTF-8?q?extraInfos=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 15151839515 --- frameworks/js/napi/src/manager/napi_push_callback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/js/napi/src/manager/napi_push_callback.cpp b/frameworks/js/napi/src/manager/napi_push_callback.cpp index 632a38b6f..c3543968b 100644 --- a/frameworks/js/napi/src/manager/napi_push_callback.cpp +++ b/frameworks/js/napi/src/manager/napi_push_callback.cpp @@ -122,7 +122,7 @@ int32_t JSPushCallBack::OnCheckNotification(const std::string ¬ificationData) SetJsPropertyInt32("creatorUserId", checkInfo->GetCreatorUserId(), jsResult); SetJsPropertyInt32("slotType", static_cast(slotType), jsResult); SetJsPropertyString("label", checkInfo->GetLabel(), jsResult); - SetJsPropertyWantParams("extraInfo", checkInfo->GetExtraInfo(), jsResult); + SetJsPropertyWantParams("extraInfos", checkInfo->GetExtraInfo(), jsResult); napi_value funcResult; napi_value argv[] = { jsResult }; -- Gitee