Parcourir la source

fix requestParams and success to create a new triggerEvent

kaori il y a 3 ans
Parent
commit
09dd0612dc

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

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