Reapply "V1_Sans_Congé_Anticipéfemini collaboratrice"
This reverts commit 7f15e380e3.
This commit is contained in:
19
project/public/Backend/webhook-config.js
Normal file
19
project/public/Backend/webhook-config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
// webhook-config.js
|
||||
|
||||
|
||||
|
||||
export const WEBHOOKS= {
|
||||
COLLABORATEURS_URL: process.env.COLLABORATEURS_URL || 'http://localhost:3000',
|
||||
RH_URL: process.env.RH_URL || 'http://localhost:3001',
|
||||
SECRET_KEY: process.env.WEBHOOK_SECRET || 'secret-key-securise'
|
||||
};
|
||||
|
||||
// Types d'événements
|
||||
export const EVENTS= {
|
||||
DEMANDE_VALIDATED: 'demande.validated',
|
||||
DEMANDE_CREATED: 'demande.created',
|
||||
DEMANDE_UPDATED: 'demande.updated',
|
||||
DEMANDE_DELETED: 'demande.deleted',
|
||||
COMPTEUR_UPDATED: 'compteur.updated'
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user