Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 54a26af

Browse files
Junio BrancoJunio Branco
Junio Branco
authored and
Junio Branco
committed
Fix blank error code
1 parent 8db8b50 commit 54a26af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎ios/Firestack/FirestackAuth.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ @implementation FirestackAuth
196196
if (user != nil) {
197197
[self userCallback:callback user:user];
198198
} else {
199-
NSDictionary *err =@{
200-
@"error": @"createUserWithEmailError",
201-
@"name": @([error code]),
202-
@"description": [error localizedDescription]
203-
};
199+
NSDictionary *err =@{
200+
@"error": @"createUserWithEmailError",
201+
@"code": [NSStringstringWithFormat:@"%d", @([error code])],
202+
@"message": [error localizedDescription]
203+
};
204204
callback(@[err]);
205205
}
206206
}];

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /