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

Prevent error when anonymous user requests allergies #3601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itsisak
Copy link
Contributor

@itsisak itsisak commented May 22, 2024

Should fix this error in sentry

Difficult to test since anonymous users do not have access to the administrate pages, but this does not break correct functionality at least.

@itsisak itsisak added the small-fix Pull requests that fix something small label May 22, 2024
@itsisak itsisak self-assigned this May 22, 2024
@itsisak itsisak force-pushed the fix-error-for-anonymous-user branch from 833f875 to 732e411 Compare May 22, 2024 11:03
Copy link

codecov bot commented May 22, 2024

Codecov Report

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

Project coverage is 89.08%. Comparing base (f05b31f) to head (732e411).

Files Patch % Lines
lego/apps/events/models.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3601      +/-   ##
==========================================
- Coverage   89.09%   89.08%   -0.01%     
==========================================
  Files         681      681              
  Lines       21395    21397       +2     
==========================================
+ Hits        19061    19062       +1     
- Misses       2334     2335       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@Bestem0r Bestem0r left a comment

Choose a reason for hiding this comment

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

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small-fix Pull requests that fix something small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants