Skip to content

Commit 0dab735

Browse files
authored
Merge pull request #186 from companieshouse/links-update
BI-8317 - Update links to be company_profile instead of self
2 parents 5ff3dc7 + 84d2f3f commit 0dab735

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/search/alphabetical-search/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface Items {
1616
}
1717

1818
export interface Links {
19-
self: string;
19+
company_profile: string;
2020
}
2121

2222
export interface TopHit {

test/services/search/alphabetical-search/service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const mockResponseBody : CompaniesResource = ({
2727
ordered_alpha_key: "ordered alpha key",
2828
ordered_alpha_key_with_id: "COMPANY:00000000",
2929
links: {
30-
self: "/company/FC022000"
30+
company_profile: "/company/FC022000"
3131
},
3232
kind: "kind"
3333
}

0 commit comments

Comments
 (0)