fix(core.gbapp): FIX SSR errors and setOption impersonated.

This commit is contained in:
Rodrigo Rodriguez 2023-07-26 17:03:30 -03:00
parent 14b4aa0052
commit ed9644089e

View file

@ -708,7 +708,10 @@ export class DialogKeywords {
*/
public async userMobile({ pid }) {
let { min, user, params } = await DialogKeywords.getProcessInfo(pid);
return user.userSystemId;
if (user)
return user.userSystemId;
else
return 'unattended';
}
/**