Fix DMP user ownership error
This commit is contained in:
parent
7cba7b2346
commit
093837c395
|
@ -19,6 +19,7 @@ export interface AppPrincipalInfo{
|
|||
notBefore: Date;
|
||||
authenticatedAt: Date;
|
||||
expiresAt: Date;
|
||||
userId: Guid;
|
||||
more: Record<string, string[]>
|
||||
}
|
||||
export interface UserProfileInfo {
|
||||
|
|
|
@ -125,9 +125,9 @@ export class AuthService extends BaseService {
|
|||
if (
|
||||
this.appAccount &&
|
||||
this.appAccount.principal &&
|
||||
this.appAccount.principal.subject
|
||||
this.appAccount.principal.userId
|
||||
) {
|
||||
return this.appAccount.principal.subject;
|
||||
return this.appAccount.principal.userId;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue