[EC-489] chore: remove obsolete `identifier` field (#4575)

* [EC-489] chore: remove obsolete `identifier` field

* [EC-489] chore: remove identifier from org response
This commit is contained in:
Andreas Coroiu 2023-02-08 16:33:41 +01:00 committed by GitHub
parent 987c9db8b0
commit 67aad0c5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 8 deletions

View File

@ -77,7 +77,6 @@ export class AccountComponent {
request.name = this.org.name;
request.businessName = this.org.businessName;
request.billingEmail = this.org.billingEmail;
request.identifier = this.org.identifier;
// Backfill pub/priv key if necessary
if (!this.org.hasPublicAndPrivateKeys) {

View File

@ -2,11 +2,6 @@ import { OrganizationKeysRequest } from "./organization-keys.request";
export class OrganizationUpdateRequest {
name: string;
/**
* @deprecated 2022-08-03 Moved to OrganizationSsoRequest, left for backwards compatability.
* https://bitwarden.atlassian.net/browse/EC-489
*/
identifier: string;
businessName: string;
billingEmail: string;
keys: OrganizationKeysRequest;

View File

@ -5,7 +5,6 @@ import { PlanResponse } from "./plan.response";
export class OrganizationResponse extends BaseResponse {
id: string;
identifier: string;
name: string;
businessName: string;
businessAddress1: string;
@ -32,7 +31,6 @@ export class OrganizationResponse extends BaseResponse {
constructor(response: any) {
super(response);
this.id = this.getResponseProperty("Id");
this.identifier = this.getResponseProperty("Identifier");
this.name = this.getResponseProperty("Name");
this.businessName = this.getResponseProperty("BusinessName");
this.businessAddress1 = this.getResponseProperty("BusinessAddress1");