瀏覽代碼

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 = {
     const requestParams = {
       triggerPath,
       triggerPath,
       notifyToType,
       notifyToType,
-      emailToSend,
-      slackChannelToSend,
-      triggerEvents,
+      toEmail: emailToSend,
+      slackChannels: slackChannelToSend,
+      triggerEvents: [...triggerEvents],
     };
     };
 
 
     try {
     try {