fix(all): Minor changes in PROD.
This commit is contained in:
parent
2c91e65c51
commit
e5f41bca78
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue