diff --git a/packages/pieces/community/slack/src/i18n/translation.json b/packages/pieces/community/slack/src/i18n/translation.json index bab0e863624..f2a9ee426e9 100644 --- a/packages/pieces/community/slack/src/i18n/translation.json +++ b/packages/pieces/community/slack/src/i18n/translation.json @@ -60,6 +60,7 @@ "Message": "Message", "Username": "Username", "Profile Picture": "Profile Picture", + "Icon Emoji": "Icon Emoji", "Mention flow of origin?": "Mention flow of origin?", "Block Kit blocks": "Block Kit blocks", "Unfurl Links": "Unfurl Links", @@ -106,6 +107,7 @@ "e.g.`thumbsup`": "e.g.`thumbsup`", "The username of the bot": "The username of the bot", "The profile picture of the bot": "The profile picture of the bot", + "The icon emoji of the bot": "The icon emoji of the bot", "If checked, adds a mention at the end of the Slack message to indicate which flow sent the notification, with a link to said flow.": "If checked, adds a mention at the end of the Slack message to indicate which flow sent the notification, with a link to said flow.", "See https://api.slack.com/block-kit for specs": "See https://api.slack.com/block-kit for specs", "Enable link unfurling for this message": "Enable link unfurling for this message", diff --git a/packages/react-ui/src/features/flows/lib/trigger-events-api.ts b/packages/react-ui/src/features/flows/lib/trigger-events-api.ts index 8f683107a03..4d353dfedf4 100644 --- a/packages/react-ui/src/features/flows/lib/trigger-events-api.ts +++ b/packages/react-ui/src/features/flows/lib/trigger-events-api.ts @@ -23,9 +23,6 @@ export const triggerEventsApi = { ); }, saveTriggerMockdata(request: SaveTriggerEventRequest) { - return api.post(`/v1/trigger-events`, { - flowId: request.flowId, - mockData: request.mockData, - }); + return api.post(`/v1/trigger-events`, request); }, };