We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94f3069 + 5428b25 commit 254826fCopy full SHA for 254826f
Classes/JSONAPIResource.m
@@ -154,7 +154,7 @@ - (void)linkLinks:(NSDictionary*)linked {
154
155
// Gets linked objects for the resource
156
id linksTo = [self.links objectForKey:linkTypeUnmapped];
157
- if ([linksTo isKindOfClass:[NSNumber class]] == YES) {
+ if ([linksTo isKindOfClass:[NSNumber class]] == YES || [linksTo isKindOfClass:[NSString class]] == YES) {
158
JSONAPIResource *linkedResource = [[linked objectForKey:linkType] objectForKey:linksTo];
159
160
if (linkedResource != nil) {
0 commit comments