Skip to content

Commit d791c93

Browse files
committed
Fixed HAL link extraction
1 parent 9fbdab7 commit d791c93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

links/HalLinkExtractor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class HalLinkExtractor implements LinkExtractor {
2020
private parseJsonBody(body: any) {
2121
const links: Link[] = [];
2222

23-
const linkContainer: { [key: string]: any; } = body._linkContainer;
23+
const linkContainer: { [key: string]: any; } = body._links;
2424
if (linkContainer) {
2525
for (const rel in linkContainer) {
2626
if (Array.isArray(linkContainer[rel])) {

0 commit comments

Comments
 (0)