File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ - (void)inflateWithDictionary:(NSDictionary*)dictionary {
134
134
_includedResources = includedResources;
135
135
136
136
// Link included with included
137
- // TODO: Need to look into / stop circular references
138
137
for (NSDictionary *typeIncluded in _includedResources.allValues ) {
139
138
for (JSONAPIResource *resource in typeIncluded.allValues ) {
140
139
[resource linkWithIncluded: self ];
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ - (void)linkWithIncluded:(JSONAPI*)jsonAPI {
172
172
173
173
JSONAPIResource *linkedResource = included[linkType][linksToId];
174
174
if (linkedResource != nil ) {
175
- [linkedResources addObject: linkedResources ];
175
+ [linkedResources addObject: linkedResource ];
176
176
}
177
177
}
178
178
}
You can’t perform that action at this time.
0 commit comments