diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index 7d20889..80fe08b 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -818,12 +818,12 @@ export default function Sidebar() { Prissela - + - - C + + J - Célia + Jeremy diff --git a/client/src/pages/WebhookBAPConfig.tsx b/client/src/pages/WebhookBAPConfig.tsx index e58ca96..b3ef520 100644 --- a/client/src/pages/WebhookBAPConfig.tsx +++ b/client/src/pages/WebhookBAPConfig.tsx @@ -39,7 +39,7 @@ export default function WebhookBAPConfig() { if (!formData.webhookUrl) { throw new Error("URL webhook requise pour le test"); } - + const response = await fetch('/api/webhook-bap-config/test', { method: 'POST', headers: { 'Content-Type': 'application/json' }, @@ -163,7 +163,7 @@ export default function WebhookBAPConfig() { Configuration Webhook BAP - Configurez l'URL du webhook n8n pour l'envoi des fichiers BAP vers Prissela et Célia + Configurez l'URL du webhook n8n pour l'envoi des fichiers BAP vers Prissela et Jeremy @@ -230,7 +230,7 @@ export default function WebhookBAPConfig() { - )} - + {testMutation.isSuccess && ( Connexion réussie )} - + {testMutation.isError && ( @@ -266,7 +266,7 @@ export default function WebhookBAPConfig() { - { return res.status(400).json({ error: 'Données manquantes: pdfBase64, fileName ou recipient' }); } - if (!['Prissela', 'Célia'].includes(recipient)) { + if (!['Prissela', 'Jeremy'].includes(recipient)) { return res.status(400).json({ error: 'Destinataire invalide' }); }