Skip to content

Commit

Permalink
fix(whatsapp.gbapp): Shared root instance with others.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Apr 14, 2020
1 parent 5ff38a4 commit fee1528
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
20 changes: 5 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"express": "4.17.1",
"express-remove-route": "1.0.0",
"ffmpeg-static": "^4.1.0",
"google-libphonenumber": "^3.2.8",
"js-beautify": "1.10.2",
"marked": "0.8.0",
"microsoft-cognitiveservices-speech-sdk": "^1.11.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/core.gbapp/services/GBMinService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ export class GBMinService {
min.instance.whatsappServiceUrl
);
}
else {
min.whatsAppDirectLine =
(GBServer.globals.minBoot as any).whatsAppDirectLine;
}

min.userProfile = conversationState.createProperty('userProfile');
const dialogState = conversationState.createProperty('dialogState');
Expand Down

0 comments on commit fee1528

Please sign in to comment.