Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
supply reference number in subscription messages
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed May 12, 2020
1 parent ed0f2f5 commit 8e75dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/models/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ module.exports = function (Subscription) {
}
switch (data.channel) {
case 'sms':
Subscription.sendSMS(data.userChannelId, textBody, null, cb)
Subscription.sendSMS(data.userChannelId, textBody, data, cb)
break
default: {
let mailOptions = {
Expand Down Expand Up @@ -416,7 +416,7 @@ module.exports = function (Subscription) {
this,
options.httpContext
)
Subscription.sendSMS(this.userChannelId, textBody)
Subscription.sendSMS(this.userChannelId, textBody, this)
break
case 'email': {
var subject = Subscription.mailMerge(
Expand Down

0 comments on commit 8e75dd5

Please sign in to comment.