fix(basic.gblib): Allow MERGE keyword in storage #380. @othonlima
This commit is contained in:
parent
e5a42a8566
commit
4c48639b71
2 changed files with 2 additions and 3 deletions
|
@ -592,7 +592,7 @@ export class GBVMService extends GBService {
|
||||||
// Setups refresh token mechanism.
|
// Setups refresh token mechanism.
|
||||||
console.log(1);
|
console.log(1);
|
||||||
console.log(this.tokens);
|
console.log(this.tokens);
|
||||||
const tokens = this.tokens??.split(',');
|
const tokens = this.tokens ? this.tokens.split(',') : [];
|
||||||
const interval = 60000; // 1 hour.
|
const interval = 60000; // 1 hour.
|
||||||
|
|
||||||
for(i in tokens) {
|
for(i in tokens) {
|
||||||
|
@ -890,7 +890,6 @@ export class GBVMService extends GBService {
|
||||||
|
|
||||||
let variables = [];
|
let variables = [];
|
||||||
|
|
||||||
|
|
||||||
// These variables will be automatically be available as normal BASIC variables.
|
// These variables will be automatically be available as normal BASIC variables.
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -957,6 +956,7 @@ export class GBVMService extends GBService {
|
||||||
});
|
});
|
||||||
|
|
||||||
sandbox['tokens'] = tokensList.join(',');
|
sandbox['tokens'] = tokensList.join(',');
|
||||||
|
console.log(sandbox['tokens']);
|
||||||
sandbox['variables'] = variables;
|
sandbox['variables'] = variables;
|
||||||
sandbox['id'] = sys.getRandomId();
|
sandbox['id'] = sys.getRandomId();
|
||||||
sandbox['username'] = await dk.userName({ pid });
|
sandbox['username'] = await dk.userName({ pid });
|
||||||
|
|
|
@ -1610,7 +1610,6 @@ export class SystemKeywords {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static aa;
|
|
||||||
/**
|
/**
|
||||||
* Calls any REST API by using GET HTTP method.
|
* Calls any REST API by using GET HTTP method.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue