We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db8b50 commit 54a26afCopy full SHA for 54a26af
ios/Firestack/FirestackAuth.m
@@ -196,11 +196,11 @@ @implementation FirestackAuth
196
if (user != nil) {
197
[self userCallback:callback user:user];
198
} else {
199
- NSDictionary *err = @{
200
- @"error": @"createUserWithEmailError",
201
- @"name": @([error code]),
202
- @"description": [error localizedDescription]
203
- };
+ NSDictionary *err =@{
+ @"error": @"createUserWithEmailError",
+ @"code": [NSString stringWithFormat:@"%d", @([error code])],
+ @"message": [error localizedDescription]
+ };
204
callback(@[err]);
205
}
206
}];
0 commit comments