Skip to content

Commit

Permalink
Merge pull request #45082 from Expensify/techievivek_get_rid_of_useNe…
Browse files Browse the repository at this point in the history
…wBeginSignIn

Get rid of useNewBeginSignIn param since we only have single flow now
  • Loading branch information
techievivek authored Jul 17, 2024
2 parents 10d04a8 + a82938a commit 5af66e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/libs/API/parameters/BeginSignInParams.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
type BeginSignInParams = {
email: string;
useNewBeginSignIn: boolean;
};

export default BeginSignInParams;
2 changes: 1 addition & 1 deletion src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function signInAttemptState(): OnyxData {
function beginSignIn(email: string) {
const {optimisticData, successData, failureData} = signInAttemptState();

const params: BeginSignInParams = {email, useNewBeginSignIn: true};
const params: BeginSignInParams = {email};

API.read(READ_COMMANDS.BEGIN_SIGNIN, params, {optimisticData, successData, failureData});
}
Expand Down

0 comments on commit 5af66e0

Please sign in to comment.