fix(core.gbapp): SEND SMS fixed.
This commit is contained in:
parent
94d90024f5
commit
508fe9fc31
2 changed files with 3 additions and 2 deletions
|
@ -590,7 +590,7 @@ STORAGE_SYNC=true
|
|||
return new Number(value ? defaultValue : defaultValue ? defaultValue : 0);
|
||||
}
|
||||
|
||||
if (instance['dataValues']) {
|
||||
if (instance['dataValues'] && !value) {
|
||||
value = instance['dataValues'][name];
|
||||
if (value === null) {
|
||||
const minBoot = GBServer.globals.minBoot as any;
|
||||
|
|
|
@ -190,6 +190,7 @@ export class GBMinService {
|
|||
id,
|
||||
`Agora falando com ${activeMin.instance.title}...`
|
||||
);
|
||||
|
||||
let startDialog = activeMin.core.getParam(activeMin.instance, 'Start Dialog', null);
|
||||
GBLog.info(`Auto start dialog is now being called: ${startDialog}...`);
|
||||
if (startDialog) {
|
||||
|
@ -199,7 +200,7 @@ export class GBMinService {
|
|||
else {
|
||||
res.end();
|
||||
}
|
||||
} else {
|
||||
} else {
|
||||
activeMin = GBServer.globals.minInstances.filter(p => p.instance.instanceId === user.instanceId)[0];
|
||||
if (activeMin === undefined) {
|
||||
activeMin = GBServer.globals.minBoot;
|
||||
|
|
Loading…
Add table
Reference in a new issue