From 6375f32c35f41c7499241829d68dbdea662f8804 Mon Sep 17 00:00:00 2001 From: Akshet Pandey Date: Sat, 29 Jul 2017 15:59:17 -0700 Subject: [PATCH] Fix incorrect status message when remote config fetch is successful --- ios/RNFirebase/config/RNFirebaseRemoteConfig.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RNFirebase/config/RNFirebaseRemoteConfig.m b/ios/RNFirebase/config/RNFirebaseRemoteConfig.m index 9cdad666..b39db268 100644 --- a/ios/RNFirebase/config/RNFirebaseRemoteConfig.m +++ b/ios/RNFirebase/config/RNFirebaseRemoteConfig.m @@ -10,8 +10,8 @@ NSString *convertFIRRemoteConfigFetchStatusToNSString(FIRRemoteConfigFetchStatus switch(value){ case FIRRemoteConfigFetchStatusNoFetchYet: return @"config/no_fetch_yet"; - case FIRRemoteConfigFetchStatusFailure: - return @"config/failure"; + case FIRRemoteConfigFetchStatusSuccess: + return @"config/success"; case FIRRemoteConfigFetchStatusThrottled: return @"config/throttled"; default: