فهرست منبع

fix requestParams and success to create a new triggerEvent

kaori 3 سال پیش
والد
کامیت
09dd0612dc
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      packages/app/src/components/Admin/Notification/ManageGlobalNotification.jsx

+ 3 - 3
packages/app/src/components/Admin/Notification/ManageGlobalNotification.jsx

@@ -50,9 +50,9 @@ const ManageGlobalNotification = (props) => {
     const requestParams = {
       triggerPath,
       notifyToType,
-      emailToSend,
-      slackChannelToSend,
-      triggerEvents,
+      toEmail: emailToSend,
+      slackChannels: slackChannelToSend,
+      triggerEvents: [...triggerEvents],
     };
 
     try {