Skip to content

Commit ef3f148

Browse files
authored
Merge pull request #810 from companieshouse/feature/cse-895-optional-subtype
CSE-895 - for CompanyProfile, have the subtype as optional
2 parents 565c05c + 01ef625 commit ef3f148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/company-profile/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface CompanyProfileResource {
2222
foreign_company_details?: ForeignCompanyDetailsResource;
2323
is_on_register_in_country_formed_in?: string;
2424
links: LinksResource;
25-
subtype: string;
25+
subtype?: string;
2626
}
2727

2828
export interface ForeignCompanyDetailsResource {
@@ -151,5 +151,5 @@ export interface CompanyProfile {
151151
foreignCompanyDetails?: ForeignCompanyDetails;
152152
isOnRegisterInCountryFormedIn?: boolean;
153153
links: Links;
154-
subtype: string;
154+
subtype?: string;
155155
}

0 commit comments

Comments
 (0)