From ae2c49a72904aed503959b4cf7b595b53c5b4bab Mon Sep 17 00:00:00 2001 From: GOGOsu Date: Sat, 30 Apr 2022 06:28:16 +0800 Subject: [PATCH] Update aliyun-sms.js --- server/notification-providers/aliyun-sms.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/notification-providers/aliyun-sms.js b/server/notification-providers/aliyun-sms.js index 325d2214..65843ebe 100644 --- a/server/notification-providers/aliyun-sms.js +++ b/server/notification-providers/aliyun-sms.js @@ -92,15 +92,15 @@ class AliyunSMS extends NotificationProvider { let key = oa[i]; param2[key] = param[key]; } - - let moreEscapesTable = function(m) { + + let moreEscapesTable = function (m) { return { - "!": "%21", - "*": "%2A", - "'": "%27", - "(": "%28", + "!": "%21", + "*": "%2A", + "'": "%27", + "(": "%28", ")": "%29" - }[m] + }[m]; }; for (let key in param2) {