fix(core.gbapp): FIX SSR errors and setOption impersonated.
This commit is contained in:
parent
25b122a1ce
commit
a65287338a
1 changed files with 4 additions and 1 deletions
|
@ -697,7 +697,10 @@ export class DialogKeywords {
|
||||||
*/
|
*/
|
||||||
public async userName({ pid }) {
|
public async userName({ pid }) {
|
||||||
let { min, user, params } = await DialogKeywords.getProcessInfo(pid);
|
let { min, user, params } = await DialogKeywords.getProcessInfo(pid);
|
||||||
return user.userName;
|
if (user)
|
||||||
|
return user.userName;
|
||||||
|
else
|
||||||
|
return 'unattended';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue