[ios][config] resolve correct null values
This commit is contained in:
parent
26338d8d62
commit
f17225d101
|
@ -61,7 +61,7 @@ RCT_EXPORT_METHOD(fetch:
|
||||||
if (error) {
|
if (error) {
|
||||||
reject(convertFIRRemoteConfigFetchStatusToNSString(status), convertFIRRemoteConfigFetchStatusToNSStringDescription(status), error);
|
reject(convertFIRRemoteConfigFetchStatusToNSString(status), convertFIRRemoteConfigFetchStatusToNSStringDescription(status), error);
|
||||||
} else {
|
} else {
|
||||||
resolve(nil);
|
resolve([NSNull null]);
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ RCT_EXPORT_METHOD(fetchWithExpirationDuration:
|
||||||
if (error) {
|
if (error) {
|
||||||
reject(convertFIRRemoteConfigFetchStatusToNSString(status), convertFIRRemoteConfigFetchStatusToNSStringDescription(status), error);
|
reject(convertFIRRemoteConfigFetchStatusToNSString(status), convertFIRRemoteConfigFetchStatusToNSStringDescription(status), error);
|
||||||
} else {
|
} else {
|
||||||
resolve(nil);
|
resolve([NSNull null]);
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue