ClimateMind / climatemind-backend

Your climate action is here 🌎 Our API is a source for learning how climate change personally affects you and the things you care about most. Additionally, it will teach a scientifically proven method for communicating to others that climate change is a personally relevant issue to inspire action.
https://contribute.climatemind.org/v/rest-api/
MIT License
18 stars 19 forks source link

[518] - Modify google auth-routes to include user b #519

Closed epixieme closed 1 month ago

epixieme commented 1 month ago

Modified routes for google login and sign up to include a condition for userb.

If user_b then redirect to userb login route else user a login route

Closes #518

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 11.53846% with 23 lines in your changes missing coverage. Please review.

Project coverage is 72.32%. Comparing base (3d88a79) to head (7983538).

Files Patch % Lines
app/auth/routes.py 11.53% 23 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #519 +/- ## =========================================== - Coverage 72.85% 72.32% -0.54% =========================================== Files 87 87 Lines 2745 2768 +23 Branches 322 326 +4 =========================================== + Hits 2000 2002 +2 - Misses 709 730 +21 Partials 36 36 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.