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

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

View file

@ -547,7 +547,7 @@ export class DialogKeywords {
// Checks access. // Checks access.
const filters = [`${role}=x`, `id=${user.userSystemId}`]; const filters = [`${role}=x`, `id=${user.userSystemId}`];
const people = await sys.find({pid, handle:"People.xlsx", args:[filters]}); const people = await sys.find({pid, handle:null, args:["People.xlsx", filters]});
if (!people){ if (!people){
throw new Error(`Invalid access. Check if People sheet has the role ${role} checked.`); throw new Error(`Invalid access. Check if People sheet has the role ${role} checked.`);