Skip to content

Commit

Permalink
fix: facebook given error string fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Apr 28, 2022
1 parent 5789d9a commit ababe1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/google/GoogleHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const googleLogin = async (checkIfEmailExists?: boolean) => {
);
return { authCredential, idToken, user };
}
throw '"Given email exists"';
throw "Given email exists";
} else {
const authCredential = await auth().signInWithCredential(googleCredential);
return { authCredential, idToken, user };
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-social-auth-helper",
"version": "1.0.7",
"version": "1.0.8",
"description": "All in one place for social authentication helper in React Native",
"main": "./build/dist/index.js",
"repository": "git@github.com:WrathChaos/react-native-social-auth-helper.git",
Expand Down

0 comments on commit ababe1c

Please sign in to comment.