fix(core.gbapp): #372 fix.

This commit is contained in:
Rodrigo Rodriguez 2023-09-29 13:24:24 -03:00
parent 532d9a54c6
commit fff1504a00
2 changed files with 10 additions and 9 deletions

View file

@ -224,14 +224,14 @@ export class GBVMService extends GBService {
// Unmarshalls Local variables from server VM. // Unmarshalls Local variables from server VM.
let pid = this.pid; const pid = this.pid;
let id = this.id; let id = this.id;
let username = this.username; let username = this.username;
let mobile = this.mobile; let mobile = this.mobile;
let from = this.from; let from = this.from;
let channel = this.channel; const channel = this.channel;
let ENTER = this.ENTER; const ENTER = this.ENTER;
let headers = this.headers; const headers = this.headers;
let data = this.data; let data = this.data;
let list = this.list; let list = this.list;
let httpUsername = this.httpUsername; let httpUsername = this.httpUsername;
@ -239,9 +239,9 @@ export class GBVMService extends GBService {
let today = this.today; let today = this.today;
let now = this.now; let now = this.now;
let page = null; let page = null;
let files = []; const files = [];
let col = 1; let col = 1;
let index = 1 let index = 1;
// Makes objects in BASIC insensitive. // Makes objects in BASIC insensitive.
@ -249,7 +249,7 @@ export class GBVMService extends GBService {
if (!listOrRow) { if (!listOrRow) {
return listOrRow return listOrRow;
}; };
const lowercase = (oldKey) => typeof oldKey === 'string' ? oldKey.toLowerCase() : oldKey; const lowercase = (oldKey) => typeof oldKey === 'string' ? oldKey.toLowerCase() : oldKey;

View file

@ -1297,11 +1297,12 @@ export class GBMinService {
context.activity.text context.activity.text
); );
const conversationReference = JSON.stringify(TurnContext.getConversationReference(context.activity));
await sec.updateConversationReferenceById(userId, conversationReference);
} }
} }
const conversationReference = JSON.stringify(TurnContext.getConversationReference(context.activity));
await sec.updateConversationReferenceById(userId, conversationReference);
if (GBMinService.userMobile(step)) { if (GBMinService.userMobile(step)) {
const startDialog = user.hearOnDialog ? user.hearOnDialog : min.core.getParam(min.instance, 'Start Dialog', null); const startDialog = user.hearOnDialog ? user.hearOnDialog : min.core.getParam(min.instance, 'Start Dialog', null);