ZHAW-PM4-Compass / compass

A time-, mood- and incident tracking application for Stadtmuur called Compass 🧭
https://stadtmuur.ch/
MIT License
0 stars 0 forks source link

Fix/frontend-to-backend-401-error #83

Closed noahbaumgartner closed 2 months ago

noahbaumgartner commented 2 months ago

This PR adds a log for the auth session to decode and check the token.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 15.84%. Comparing base (28823c1) to head (bdb81b6). Report is 1 commits behind head on main.

Files Patch % Lines
frontend/src/app/api/proxy/[...route]/route.tsx 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #83 +/- ## ============================================ - Coverage 15.85% 15.84% -0.02% Complexity 87 87 ============================================ Files 57 57 Lines 1400 1401 +1 Branches 220 220 ============================================ Hits 222 222 - Misses 1104 1105 +1 Partials 74 74 ``` | [Flag](https://app.codecov.io/gh/ZHAW-PM4-Compass/compass/pull/83/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZHAW-PM4-Compass) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/ZHAW-PM4-Compass/compass/pull/83/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZHAW-PM4-Compass) | `48.40% <ø> (ø)` | | | [frontend](https://app.codecov.io/gh/ZHAW-PM4-Compass/compass/pull/83/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZHAW-PM4-Compass) | `1.03% <0.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ZHAW-PM4-Compass#carryforward-flags-in-the-pull-request-comment) to find out more.

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