PR Review comment fixed

This commit is contained in:
Danish Phiroz 2024-10-02 13:27:33 -04:00
parent a29fa60e5e
commit 4b35a8bb2d

View File

@ -689,7 +689,7 @@
//Response Info is missing but errorObject should be created with generic message + code + domain
if (responseInfo == nil) {
errorObject = [[MVMCoreLoadHandler sharedGlobal] errorForLoadObject:loadObject withTitle:nil message:[MVMCoreGetterUtility hardcodedStringWithKey:HardcodedErrorCritical] code:ErrorCodeJSONNotDictionary domain:ErrorDomainServer];
}else if (![ValueTypeSuccess isEqualToString:[responseInfo string:KeyType]]) {
} else if (![ValueTypeSuccess isEqualToString:[responseInfo string:KeyType]]) {
errorObject = [[MVMCoreLoadHandler sharedGlobal] attachLoadInformation:loadObject toError:
[[MVMCoreErrorObject alloc]
initWithTitle:[responseInfo stringForKey:KeyErrorHeading]