fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit fddb2289d3 - Show all commits

View file

@ -662,9 +662,6 @@ export class SystemKeywords {
const { min, user } = await DialogKeywords.getProcessInfo(pid); const { min, user } = await DialogKeywords.getProcessInfo(pid);
GBLog.info(`BASIC: Saving Blob'${file}' (SAVE file).`); GBLog.info(`BASIC: Saving Blob'${file}' (SAVE file).`);
let { baseUrl, client } = await GBDeployer.internalGetDriveClient(min);
const path = DialogKeywords.getGBAIPath(min.botId, `gbdrive`);
// Checks if it is a GB FILE object. // Checks if it is a GB FILE object.
if (data.data && data.filename) { if (data.data && data.filename) {
@ -705,7 +702,6 @@ export class SystemKeywords {
GBLog.error(`BASIC: BLOB HTTP ${res.errorCode} ${res._response.status} .`); GBLog.error(`BASIC: BLOB HTTP ${res.errorCode} ${res._response.status} .`);
} }
} catch (error) { } catch (error) {
if (error.code === 'itemNotFound') { if (error.code === 'itemNotFound') {
GBLog.info(`BASIC: BASIC source file not found: ${file}.`); GBLog.info(`BASIC: BASIC source file not found: ${file}.`);