fix(all): Minor changes in PROD.

This commit is contained in:
Rodrigo Rodriguez 2023-07-31 18:07:24 -03:00
parent 2c91e65c51
commit e5f41bca78

View file

@ -206,9 +206,11 @@ export class GBMinService {
disconnected(remoteId: string, connections: number): void { }, disconnected(remoteId: string, connections: number): void { },
connected(remoteId: string, connections: number): void { }, connected(remoteId: string, connections: number): void { },
messageIn(...params): void { messageIn(...params): void {
params.shift();
GBLogEx.info(0, '[IN] ' + params); GBLogEx.info(0, '[IN] ' + params);
}, },
messageOut(...params): void { messageOut(...params): void {
params.shift();
GBLogEx.info(0, '[OUT] ' + params); GBLogEx.info(0, '[OUT] ' + params);
} }
} }
@ -1122,7 +1124,7 @@ export class GBMinService {
private static async downloadAttachmentAndWrite(attachment) { private static async downloadAttachmentAndWrite(attachment) {
const url = attachment.contentUrl; const url = attachment.contentUrl;
const localFolder = Path.join('work'); const localFolder = 'work';
const path = DialogKeywords.getGBAIPath(this['min'].botId); const path = DialogKeywords.getGBAIPath(this['min'].botId);
const localFileName = Path.join(localFolder, path, 'uploads', const localFileName = Path.join(localFolder, path, 'uploads',
attachment.name attachment.name