Skip to content

Commit 363ff1e

Browse files
Parity of response format
1 parent 86907d5 commit 363ff1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ios/Firestack/FirestackAuth.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,15 @@ @implementation FirestackAuth
187187

188188
if (user != nil) {
189189
NSDictionary *userProps = [self userPropsFromFIRUser:user];
190-
NSMutableDictionary *responseProps = @{
190+
NSDictionary *responseProps = @{
191191
@"authenticated": @((BOOL) true),
192192
@"user": userProps
193193
};
194194
callback(@[[NSNull null], responseProps]);
195195
} else {
196196
// No user is signed in.
197197
NSDictionary *err = @{
198+
@"authenticated": @((BOOL) false),
198199
@"user": @"No user logged in"
199200
};
200201
callback(@[err]);

0 commit comments

Comments
 (0)