fix(basic.gblib): Databases. #392 @othonlima.

This commit is contained in:
Rodrigo Rodriguez 2023-11-29 19:06:41 -03:00
parent 5dd2cc3a29
commit 1e9809f678
2 changed files with 7 additions and 7 deletions

View file

@ -292,10 +292,10 @@ export class AdminDialog extends IGBDialog {
let skipError = false;
if (filename === null || filename === '') {
await min.conversationalService.sendText(min, step, `Starting publishing for ${botId} packages...`);
packages.push(`${botId}.gbkb`);
packages.push(`${botId}.gbtheme`);
packages.push(`${botId}.gbdialog`);
packages.push(`${botId}.gbot`);
packages.push(`${botId}.gbtheme`);
packages.push(`${botId}.gbkb`);
packages.push(`${botId}.gbdialog`);
skipError = true;
} else {
packages.push(filename);

View file

@ -642,10 +642,10 @@ export class GBVMService extends GBService {
public static normalizeQuotes(text: any) {
text = text.replace(/\"/gm, '"');
text = text.replace(/\¨/gm, '"');
text = text.replace(/\“/gm, '"');
text = text.replace(/\”/gm, '"');
text = text.replace(/\"/gm, '`');
text = text.replace(/\¨/gm, '`');
text = text.replace(/\“/gm, '`');
text = text.replace(/\”/gm, '`');
text = text.replace(/\/gm, "'");
text = text.replace(/\/gm, "'");