Skip to content

fix: re-use existing connection's transaction in emailChangeVerify#424

Merged
kangmingtay merged 1 commit intosupabase:masterfrom
bnjmnt4n:fix-email-change-verify-transaction
Mar 23, 2022
Merged

fix: re-use existing connection's transaction in emailChangeVerify#424
kangmingtay merged 1 commit intosupabase:masterfrom
bnjmnt4n:fix-email-change-verify-transaction

Conversation

@bnjmnt4n
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

The emailChangeVerify function created new transactions when performing updates, although an existing connection already exists.

What is the new behavior?

The existing connection passed into emailChangeVerify is re-used. This aligns the connection handling behaviour with the rest of the functions in api/verify.go.

Additional context

This looks like it might have been a leftover bug during refactoring in PR #379.

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR supabase#379.
@kangmingtay
Copy link
Member

yeah i think so too, thanks for catching this 💪

@kangmingtay kangmingtay merged commit 460b31b into supabase:master Mar 23, 2022
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.6.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
…upabase#424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR supabase#379.
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
…upabase#424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR supabase#379.
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
…upabase#424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR supabase#379.
cemalkilic pushed a commit that referenced this pull request Aug 7, 2025
…424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR #379.
xeladotbe pushed a commit to xeladotbe/supabase-auth that referenced this pull request Sep 27, 2025
…upabase#424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR supabase#379.
fadymak pushed a commit that referenced this pull request Sep 30, 2025
…424)

This aligns the connection handling behaviour with the rest of the
functions in `api/verify.go`.

This looks like it might have been a leftover bug during refactoring in
PR #379.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants