Reverse assigning the loadObject identifier to the operation. (self.identifer will always be nil on init.)

This commit is contained in:
Hedden, Kyle Matthew 2024-02-21 17:55:39 -05:00
parent 1e487dd58b
commit 0c8012d40f

View File

@ -53,7 +53,7 @@
- (nullable instancetype)initWithLoadObject:(nullable MVMCoreLoadObject *)loadObject backgroundLoad:(BOOL)backgroundLoad { - (nullable instancetype)initWithLoadObject:(nullable MVMCoreLoadObject *)loadObject backgroundLoad:(BOOL)backgroundLoad {
if (self = [self initWithRequestParameters:loadObject.requestParameters dataForPage:loadObject.dataForPage delegateObject:loadObject.delegateObject backgroundLoad:backgroundLoad]) { if (self = [self initWithRequestParameters:loadObject.requestParameters dataForPage:loadObject.dataForPage delegateObject:loadObject.delegateObject backgroundLoad:backgroundLoad]) {
loadObject.identifier = self.identifier; self.identifier = loadObject.identifier;
self.loadObject = loadObject; self.loadObject = loadObject;
} }
return self; return self;