method signature changes

This commit is contained in:
Blake Watters
2010-08-04 14:24:38 -04:00
parent 0b8e433fe1
commit 182af0edc9

View File

@@ -122,10 +122,10 @@
if ([mainThreadModel isKindOfClass:[NSManagedObject class]]) {
NSManagedObjectID* modelID = [(NSManagedObject*)mainThreadModel objectID];
NSManagedObject* backgroundThreadModel = [objectStore objectWithID:modelID];
[_mapper mapModel:backgroundThreadModel fromString:[response bodyAsString]];
[_mapper mapObject:backgroundThreadModel fromString:[response bodyAsString]];
results = [NSArray arrayWithObject:backgroundThreadModel];
} else {
[_mapper mapModel:mainThreadModel fromString:[response bodyAsString]];
[_mapper mapObject:mainThreadModel fromString:[response bodyAsString]];
results = [NSArray arrayWithObject:mainThreadModel];
}
} else {