Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Fix defaults for Twilio service
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 25, 2020
1 parent 5068671 commit 553d08c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/twilio/twilio.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export class TwilioService {
);
if (!twilioAccountSid || !twilioAuthToken)
this.logger.warn('Twilio account SID/auth token not found');
this.client = twilio(twilioAccountSid ?? '', twilioAuthToken ?? '');
this.client = twilio(
twilioAccountSid || 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
twilioAuthToken || 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
);
}

send(options: MessageListInstanceCreateOptions) {
Expand Down

0 comments on commit 553d08c

Please sign in to comment.