Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Merge branch 'main' into feature/slack-secret-sync-error-notification
Victor Santos0d1e9bbc0488
diff --cc frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackIntegrationForm.tsxindex cf5113fad3,4af602e12e..a473e897ea--- a/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackIntegrationForm.tsx+++ b/frontend/src/pages/secret-manager/SettingsPage/components/WorkflowIntegrationSection/components/SlackIntegrationForm.tsx@@@ -143,33 -76,25 +143,26 @@@ export const SlackIntegrationForm = ({});const handleIntegrationSave = async (data: TSlackConfigForm) => {- try {- if (!currentProject) {- return;- }+ if (!currentProject) {+ return;+ }- await updateProjectSlackConfig({- ...data,- projectId: currentProject.id,- integration: WorkflowIntegrationPlatform.SLACK,- integrationId: data.slackIntegrationId,- accessRequestChannels: data.accessRequestChannels.filter(Boolean).join(", "),- secretRequestChannels: data.secretRequestChannels.filter(Boolean).join(", "),- secretSyncErrorChannels: data.secretSyncErrorChannels.filter(Boolean).join(", ")- });+ await updateProjectSlackConfig({+ ...data,+ projectId: currentProject.id,+ integration: WorkflowIntegrationPlatform.SLACK,+ integrationId: data.slackIntegrationId,+ accessRequestChannels: data.accessRequestChannels.filter(Boolean).join(", "),- secretRequestChannels: data.secretRequestChannels.filter(Boolean).join(", ")++ secretRequestChannels: data.secretRequestChannels.filter(Boolean).join(", "),++ secretSyncErrorChannels: data.secretSyncErrorChannels.filter(Boolean).join(", ")+ });- createNotification({- type: "success",- text: "Successfully created slack integration"- });+ createNotification({+ type: "success",+ text: "Successfully created slack integration"+ });- onClose();- } catch {- createNotification({- type: "error",- text: "Failed to create slack integration"- });- }+ onClose();};const secretRequestNotifState = watch("isSecretRequestNotificationEnabled");