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

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

View file

@ -139,7 +139,7 @@ export class SecService extends GBService {
}
});
if (agentSystemId === null) {
if (agentSystemId === null && user.agentSystemId ) {
const agent = await GuaribasUser.findOne({
where: {
userSystemId: user.agentSystemId