1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

usePolicies on org profile response

This commit is contained in:
Kyle Spearrin 2020-01-15 15:22:34 -05:00
parent f66de2207c
commit ca6f235a34

View File

@ -6,6 +6,7 @@ import { OrganizationUserType } from '../../enums/organizationUserType';
export class ProfileOrganizationResponse extends BaseResponse { export class ProfileOrganizationResponse extends BaseResponse {
id: string; id: string;
name: string; name: string;
usePolicies: boolean;
useGroups: boolean; useGroups: boolean;
useDirectory: boolean; useDirectory: boolean;
useEvents: boolean; useEvents: boolean;
@ -26,6 +27,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
super(response); super(response);
this.id = this.getResponseProperty('Id'); this.id = this.getResponseProperty('Id');
this.name = this.getResponseProperty('Name'); this.name = this.getResponseProperty('Name');
this.usePolicies = this.getResponseProperty('UsePolicies');
this.useGroups = this.getResponseProperty('UseGroups'); this.useGroups = this.getResponseProperty('UseGroups');
this.useDirectory = this.getResponseProperty('UseDirectory'); this.useDirectory = this.getResponseProperty('UseDirectory');
this.useEvents = this.getResponseProperty('UseEvents'); this.useEvents = this.getResponseProperty('UseEvents');