Skip to content

Commit

Permalink
fix(core.gbapp): Missing await inserted on sendToMobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jan 27, 2021
1 parent f976578 commit 43e70bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core.gbapp/services/GBConversationalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class GBConversationalService {
}

public async sendToMobile(min: GBMinInstance, mobile: string, message: string) {
min.whatsAppDirectLine.sendToDevice(mobile, message);
await min.whatsAppDirectLine.sendToDevice(mobile, message);
}

public static async getAudioBufferFromText(speechKey, cloudRegion, text, locale): Promise<string> {
Expand Down

0 comments on commit 43e70bb

Please sign in to comment.