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

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

View file

@ -606,7 +606,7 @@ export class GBVMService extends GBService {
const tokens = this.tokens ? this.tokens.split(',') : []; const tokens = this.tokens ? this.tokens.split(',') : [];
for(i in tokens) { for(i in tokens) {
const tokenNAme = tokens[i]; const tokenName = tokens[i];
const expiresOn = new Date(global[tokenName + "_expiresOn"]); const expiresOn = new Date(global[tokenName + "_expiresOn"]);
if (expiresOn.getTime() > new Date().getTime()) { if (expiresOn.getTime() > new Date().getTime()) {