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: sms verify should update is_anonymous field #1580

Merged
merged 3 commits into from
May 13, 2024

Conversation

kangmingtay
Copy link
Member

What kind of change does this PR introduce?

  • verifying the phone number of a user should update the is_anonymous field to false
  • add test to prevent any future regression

@kangmingtay kangmingtay requested a review from a team as a code owner May 12, 2024 11:08
@coveralls
Copy link

coveralls commented May 12, 2024

Pull Request Test Coverage Report for Build 9064005784

Details

  • 3 of 5 (60.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 65.47%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/api/verify.go 3 5 60.0%
Totals Coverage Status
Change from base Build 8997004849: -0.002%
Covered Lines: 8369
Relevant Lines: 12783

💛 - Coveralls

internal/api/anonymous_test.go Outdated Show resolved Hide resolved
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
@kangmingtay kangmingtay merged commit e5f98cb into master May 13, 2024
2 checks passed
@kangmingtay kangmingtay deleted the km/fix-update-phone branch May 13, 2024 15:32
J0 pushed a commit that referenced this pull request May 22, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.152.0](v2.151.0...v2.152.0)
(2024-05-22)


### Features

* new timeout writer implementation
([#1584](#1584))
([72614a1](72614a1))
* remove legacy lookup in users for one_time_tokens (phase II)
([#1569](#1569))
([39ca026](39ca026))
* update chi version
([#1581](#1581))
([c64ae3d](c64ae3d))
* update openapi spec with identity and is_anonymous fields
([#1573](#1573))
([86a79df](86a79df))


### Bug Fixes

* improve logging structure
([#1583](#1583))
([c22fc15](c22fc15))
* sms verify should update is_anonymous field
([#1580](#1580))
([e5f98cb](e5f98cb))
* use api_external_url domain as localname
([#1575](#1575))
([ed2b490](ed2b490))

---
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.

None yet

3 participants