diff --git a/admin/webapp/websrc/app/common/api/auth-http.service.ts b/admin/webapp/websrc/app/common/api/auth-http.service.ts index 766277e5..773aec09 100644 --- a/admin/webapp/websrc/app/common/api/auth-http.service.ts +++ b/admin/webapp/websrc/app/common/api/auth-http.service.ts @@ -31,7 +31,7 @@ interface LicenseResponse { } interface PublicPasswordProfileResponse { - pwd_profiles: PublicPasswordProfile; + pwd_profile: PublicPasswordProfile; } interface RoleResponse { @@ -213,7 +213,7 @@ export class AuthHttpService { getPublicPwdProfile(): Observable { return GlobalVariable.http .get(PathConstant.PUBLIC_PASSWORD_PROFILE) - .pipe(map(r => r.pwd_profiles)); + .pipe(map(r => r.pwd_profile)); } patchPwdProfile(profile: PasswordProfile): Observable {