Skip to content

Commit

Permalink
JeremyMahieu#1 set byid after array recurse
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Windisch committed Dec 5, 2023
1 parent ae00a53 commit 7b6df02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/refs.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class RefsInterceptor implements HttpInterceptor {
byid[id] = obj;
if ('$values' in obj) { // an array
obj = obj.$values.map(recurse);
byid[id] = obj;
}
else { // a plain object
// tslint:disable-next-line: forin
Expand Down

0 comments on commit 7b6df02

Please sign in to comment.