fix(services): add ordering to GuaribasInstance query in GBCoreService
Some checks failed
GBCI / build (push) Failing after 3h10m7s
Some checks failed
GBCI / build (push) Failing after 3h10m7s
This commit is contained in:
parent
56504beea3
commit
7594cea1e0
2 changed files with 4 additions and 4 deletions
|
@ -751,9 +751,9 @@ ENDPOINT_UPDATE=true
|
||||||
await client
|
await client
|
||||||
.api(`${baseUrl}/drive/items/${document.id}/workbook/worksheets('${sheets.value[0].name}')/range(address='${address}')`)
|
.api(`${baseUrl}/drive/items/${document.id}/workbook/worksheets('${sheets.value[0].name}')/range(address='${address}')`)
|
||||||
.patch(body);
|
.patch(body);
|
||||||
|
}
|
||||||
} else {
|
else if (GBConfigService.get('GB_MODE') === 'local') {
|
||||||
let packagePath = GBUtil.getGBAIPath(min.botId, `gbot`);
|
let packagePath = GBUtil.getGBAIPath(min.botId, `gbot`);
|
||||||
const config = path.join(GBConfigService.get('STORAGE_LIBRARY'), packagePath, 'config.csv');
|
const config = path.join(GBConfigService.get('STORAGE_LIBRARY'), packagePath, 'config.csv');
|
||||||
|
|
||||||
const db = await csvdb(config, ['name', 'value'], ',');
|
const db = await csvdb(config, ['name', 'value'], ',');
|
||||||
|
|
|
@ -1049,7 +1049,7 @@ export class KBService implements IGBKBService {
|
||||||
let website = min.core.getParam<string>(min.instance, 'Website', null);
|
let website = min.core.getParam<string>(min.instance, 'Website', null);
|
||||||
const maxDepth = min.core.getParam<number>(min.instance, 'Website Depth', 1);
|
const maxDepth = min.core.getParam<number>(min.instance, 'Website Depth', 1);
|
||||||
const MAX_DOCUMENTS = 50;
|
const MAX_DOCUMENTS = 50;
|
||||||
const maxDocuments = min.core.getParam<number>(min.instance, 'Website Max Documents', MAX_DOCUMENTS);
|
const maxDocuments = min.core.getParam<number>(min.instance, ' ', MAX_DOCUMENTS);
|
||||||
const websiteIgnoreUrls = min.core.getParam<[]>(min.instance, 'Website Ignore URLs', null);
|
const websiteIgnoreUrls = min.core.getParam<[]>(min.instance, 'Website Ignore URLs', null);
|
||||||
GBLogEx.info(min, `Website: ${website}, Max Depth: ${maxDepth}, Website Max Documents: ${maxDocuments}, Ignore URLs: ${websiteIgnoreUrls}`);
|
GBLogEx.info(min, `Website: ${website}, Max Depth: ${maxDepth}, Website Max Documents: ${maxDocuments}, Ignore URLs: ${websiteIgnoreUrls}`);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue