Skip to content

Commit 172fc87

Browse files
committed
remove double check error
1 parent ca4be55 commit 172fc87

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

auth.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ func (auth *Auth) createUserAutoID(user *User) (string, error) {
227227
if err != nil {
228228
return "", err
229229
}
230-
if err != nil {
231-
return "", err
232-
}
233230
if len(resp.LocalId) == 0 {
234231
return "", errors.New("firebaseauth: create account error")
235232
}

0 commit comments

Comments
 (0)