Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't update attribute mapping if nil #1665

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

kangmingtay
Copy link
Member

What kind of change does this PR introduce?

  • when the attribute_mapping key is not provided in the payload, the update should not delete the existing attribute mapping

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

@kangmingtay kangmingtay requested a review from a team as a code owner July 18, 2024 06:38
@coveralls
Copy link

Pull Request Test Coverage Report for Build 9986748338

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.008%) to 58.013%

Files with Coverage Reduction New Missed Lines %
internal/models/sso.go 2 55.56%
Totals Coverage Status
Change from base Build 9977849355: -0.008%
Covered Lines: 8818
Relevant Lines: 15200

💛 - Coveralls

@kangmingtay kangmingtay merged commit 7e67f3e into master Jul 18, 2024
3 checks passed
@kangmingtay kangmingtay deleted the km/fix-update-attribute-mapping branch July 18, 2024 15:02
kangmingtay pushed a commit that referenced this pull request Jul 19, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.155.5](v2.155.4...v2.155.5)
(2024-07-19)


### Bug Fixes

* check password max length in checkPasswordStrength
([#1659](#1659))
([1858c93](1858c93))
* don't update attribute mapping if nil
([#1665](#1665))
([7e67f3e](7e67f3e))
* refactor mfa models and add observability to loadFactor
([#1669](#1669))
([822fb93](822fb93))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.155.5](supabase/auth@v2.155.4...v2.155.5)
(2024-07-19)


### Bug Fixes

* check password max length in checkPasswordStrength
([supabase#1659](supabase#1659))
([1858c93](supabase@1858c93))
* don't update attribute mapping if nil
([supabase#1665](supabase#1665))
([7e67f3e](supabase@7e67f3e))
* refactor mfa models and add observability to loadFactor
([supabase#1669](supabase#1669))
([822fb93](supabase@822fb93))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.155.5](supabase/auth@v2.155.4...v2.155.5)
(2024-07-19)


### Bug Fixes

* check password max length in checkPasswordStrength
([supabase#1659](supabase#1659))
([1858c93](supabase@1858c93))
* don't update attribute mapping if nil
([supabase#1665](supabase#1665))
([7e67f3e](supabase@7e67f3e))
* refactor mfa models and add observability to loadFactor
([supabase#1669](supabase#1669))
([822fb93](supabase@822fb93))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.155.5](supabase/auth@v2.155.4...v2.155.5)
(2024-07-19)


### Bug Fixes

* check password max length in checkPasswordStrength
([supabase#1659](supabase#1659))
([1858c93](supabase@1858c93))
* don't update attribute mapping if nil
([supabase#1665](supabase#1665))
([7e67f3e](supabase@7e67f3e))
* refactor mfa models and add observability to loadFactor
([supabase#1669](supabase#1669))
([822fb93](supabase@822fb93))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants