Skip to content

Commit dc5e529

Browse files
committed
Fix nested user object in iOS with userCallback response
1 parent 038bfb2 commit dc5e529

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ios/Firestack/FirestackAuth.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,7 @@ - (void) sendJSEvent:(NSString *)title
480480

481481
- (void) userCallback:(RCTResponseSenderBlock) callback
482482
user:(FIRUser *) user {
483-
NSDictionary *userProps = @{
484-
@"user": [self userPropsFromFIRUser:user]
485-
};
483+
NSDictionary *userProps = [self userPropsFromFIRUser:user];
486484
callback(@[[NSNull null], userProps]);
487485
}
488486

0 commit comments

Comments
 (0)