Skip to content

Commit

Permalink
Merge branch 'production'
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinand11 committed Dec 12, 2023
2 parents c6fe6bb + a06e536 commit 178a6db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/api/src/modules/notifications/utils/phone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const sendText = async (text: PhoneText) => {
type: 'plain',
channel: 'generic',
api_key: termiiAPIKey
}).then((res) => {
appInstance.logger.info(JSON.stringify({ ...res.data, ...text }))
}).catch((err) => {
throw new BadRequestError(`Failed to send text: ${err.response.data.message}`)
})
Expand Down

0 comments on commit 178a6db

Please sign in to comment.