Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

typo in attributesForRepresentation #135

Merged
merged 1 commit into from Jan 25, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion AFIncrementalStore/AFRESTClient.m
Expand Up @@ -207,7 +207,7 @@ - (NSDictionary *)attributesForRepresentation:(NSDictionary *)representation
NSMutableDictionary *mutableAttributes = [representation mutableCopy]; NSMutableDictionary *mutableAttributes = [representation mutableCopy];
@autoreleasepool { @autoreleasepool {
NSMutableSet *mutableKeys = [NSMutableSet setWithArray:[representation allKeys]]; NSMutableSet *mutableKeys = [NSMutableSet setWithArray:[representation allKeys]];
[mutableKeys minusSet:[NSSet setWithArray:[[entity propertiesByName] allKeys]]]; [mutableKeys minusSet:[NSSet setWithArray:[[entity attributesByName] allKeys]]];
[mutableAttributes removeObjectsForKeys:[mutableKeys allObjects]]; [mutableAttributes removeObjectsForKeys:[mutableKeys allObjects]];
} }


Expand Down