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: Fix verify email link #2165

Merged
merged 3 commits into from
Sep 1, 2023
Merged

fix: Fix verify email link #2165

merged 3 commits into from
Sep 1, 2023

Conversation

faucomte97
Copy link
Contributor

@faucomte97 faucomte97 commented Sep 1, 2023

This change is Reviewable

@faucomte97 faucomte97 self-assigned this Sep 1, 2023
Copy link
Collaborator

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 2 files at r1, all commit messages.
Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @faucomte97)


portal/views/cron/user.py line 61 at r1 (raw file):

def replace_protocol_and_app_in_link(url: str) -> str:

can we simplify this and create a helper called build_absolute_google_uri and pass in the request and location (the return value of result)

def build_absolute_google_uri(request, location):
...

Copy link
Contributor Author

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @faucomte97 and @SKairinos)


portal/views/cron/user.py line 61 at r1 (raw file):

Previously, SKairinos (Stefan Kairinos) wrote…

can we simplify this and create a helper called build_absolute_google_uri and pass in the request and location (the return value of result)

def build_absolute_google_uri(request, location):
...

Done.

Copy link
Collaborator

@SKairinos SKairinos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @faucomte97)

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Merging #2165 (e0fe317) into master (3eb0604) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2165      +/-   ##
==========================================
- Coverage   94.62%   94.47%   -0.15%     
==========================================
  Files         164      164              
  Lines        4504     4510       +6     
==========================================
- Hits         4262     4261       -1     
- Misses        242      249       +7     
Files Changed Coverage Δ
portal/admin.py 86.74% <100.00%> (ø)
portal/views/cron/user.py 94.02% <100.00%> (+0.58%) ⬆️

... and 2 files with indirect coverage changes

@faucomte97 faucomte97 merged commit 587e879 into master Sep 1, 2023
4 of 5 checks passed
@faucomte97 faucomte97 deleted the fix_verify_email_link branch September 1, 2023 14:21
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.

2 participants