diff --git a/targets/export-elasticsearch/src/services/export.ts b/targets/export-elasticsearch/src/services/export.ts index a08223664..a22a174fe 100644 --- a/targets/export-elasticsearch/src/services/export.ts +++ b/targets/export-elasticsearch/src/services/export.ts @@ -68,12 +68,12 @@ export class ExportService { const exportEsDone = await this.exportRepository.getOne(id); if (environment === Environment.preproduction) { await sendMattermostMessage( - `**Production:** mise à jour terminée (${exportEsDone.documentsCount?.total} documents) 🎉`, + `**Préproduction:** mise à jour terminée (${exportEsDone.documentsCount?.total} documents) 😁`, process.env.MATTERMOST_CHANNEL_EXPORT ); } else { await sendMattermostMessage( - `**Préproduction:** mise à jour terminée (${exportEsDone.documentsCount?.total} documents) 😁`, + `**Production:** mise à jour terminée (${exportEsDone.documentsCount?.total} documents) 🎉`, process.env.MATTERMOST_CHANNEL_EXPORT ); }