diff --git a/src/modules/admin.ts b/src/modules/admin.ts index ea967d67..abf61bee 100644 --- a/src/modules/admin.ts +++ b/src/modules/admin.ts @@ -344,9 +344,6 @@ export const sendGeneralMails = async (generalMail: string, preview: boolean) => await API.post('admin/emails/', { generalMail, preview }, 60000); toast.success('Les mails ont bien été envoyés'); - const response = await API.post('admin/emails/', { generalMail, preview }, 60000); - - toast.success(response); } catch (err) { console.error(err); }