[ios] added user `providerData` props - fixed typo

This commit is contained in:
Salakar 2017-05-12 13:18:32 +01:00
parent 6c68d85261
commit 9977f1f5fa
1 changed files with 3 additions and 6 deletions

View File

@ -676,13 +676,10 @@ RCT_EXPORT_METHOD(reauthenticate:(NSString *)provider authToken:(NSString *)auth
@"displayName": user.displayName ? user.displayName : [NSNull null],
@"refreshToken": user.refreshToken,
@"providerId": [user.providerID lowercaseString],
@"providerDate": [self convertProviderData: user.providerData]
}
mutableCopy
@"providerData": [self convertProviderData: user.providerData]
} mutableCopy
];
// todo providerData
if ([user valueForKey:@"photoURL"] != nil) {
[userDict setValue: [NSString stringWithFormat:@"%@", user.photoURL] forKey:@"photoURL"];
}