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

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

View file

@ -567,8 +567,8 @@ export class DialogKeywords {
} }
} }
public static async getOption({ pid, name }) { public static async getOption({ pid, name, root=false }) {
if (this.isUserSystemParam(name)) { if (this.isUserSystemParam(name) || root) {
throw new Error(`Not possible to retrieve ${name} system param.`); throw new Error(`Not possible to retrieve ${name} system param.`);
} }
let { min, user, params } = await DialogKeywords.getProcessInfo(pid); let { min, user, params } = await DialogKeywords.getProcessInfo(pid);