Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
Add tutor email notification on apply
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Oct 13, 2016
1 parent 9963ac7 commit 74b2d6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/api/application/application.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ class ApplicationController {
'Confirmation d\'envoi de ta candidature au statut Étudiant-entrepreneur',
getSendEmailBody(application),
(error, info) => { logMail(req.log, error, info )})
//notify tutuor
sendMail(
application.career.tutor.email,
'Candidature d\'un de vos étudiants au statut Étudiant-entrepreneur',
getTutorEmailBody(application),
(error, info) => { logMail(req.log, error, info )})
//notify pepite
sendMail(
getPepite(application.pepite.pepite).email,
Expand Down

0 comments on commit 74b2d6d

Please sign in to comment.