Skip to content

Commit

Permalink
feat: load fcm push transport
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed May 27, 2019
1 parent de8ed1c commit 24499a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/message.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ const ECHO_TRANSPORT_NAME = 'echo';
const DEFAULT_TRANSPORT_NAME =
getString('DEFAULT_TRANSPORT_NAME', ECHO_TRANSPORT_NAME);


/* load transports */
const transports = {
'infobip-sms': require(path.join(__dirname, 'transports', 'sms.infobip')),
'tz-ega-sms': require(path.join(__dirname, 'transports', 'sms.tz.ega')),
'smtp': require(path.join(__dirname, 'transports', 'smtp')),
'fcm-push': require(path.join(__dirname, 'transports', 'push.fcm')),
};


Expand Down

0 comments on commit 24499a7

Please sign in to comment.