From 7e0b8a0e3f70b05a0861e9b3f65fd5a9e2cb2656 Mon Sep 17 00:00:00 2001 From: fangJinliang1 Date: Tue, 31 Jan 2023 10:01:39 +0800 Subject: [PATCH] fixed 6191a4c from https://gitee.com/fangJinliang1/notification_ans_standard/pulls/915 fix interface Signed-off-by: fangJinliang1 Change-Id: Id5cfcb05d80c5193f722d24278eafece7f2a604e --- frameworks/js/napi/src/manager/init_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/js/napi/src/manager/init_module.cpp b/frameworks/js/napi/src/manager/init_module.cpp index 7b1fb3a71..c07d07947 100644 --- a/frameworks/js/napi/src/manager/init_module.cpp +++ b/frameworks/js/napi/src/manager/init_module.cpp @@ -66,7 +66,7 @@ napi_value NotificationManagerInit(napi_env env, napi_value exports) DECLARE_NAPI_FUNCTION("isSupportTemplate", NapiIsSupportTemplate), DECLARE_NAPI_FUNCTION("setDoNotDisturbDate", NapiSetDoNotDisturbDate), DECLARE_NAPI_FUNCTION("getDoNotDisturbDate", NapiGetDoNotDisturbDate), - DECLARE_NAPI_FUNCTION("supportDoNotDisturbMode", NapiSupportDoNotDisturbMode), + DECLARE_NAPI_FUNCTION("isSupportDoNotDisturbMode", NapiSupportDoNotDisturbMode), DECLARE_NAPI_FUNCTION("isDistributedEnabled", NapiIsDistributedEnabled), DECLARE_NAPI_FUNCTION("setDistributedEnable", NapiEnableDistributed), DECLARE_NAPI_FUNCTION("setDistributedEnableByBundle", NapiEnableDistributedByBundle), -- Gitee