Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@motorina0
Copy link
Collaborator

Light decorator used to check if there is an authenticated user or not.
Does not enforce authentication.
Required when querying for user specific resources.

@codecov
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

Attention: Patch coverage is 14.28571% with 6 lines in your changes missing coverage. Please review.

Project coverage is 61.21%. Comparing base (7f62894) to head (3cc9323).

Files Patch % Lines
lnbits/decorators.py 14.28% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2566      +/-   ##
==========================================
- Coverage   61.24%   61.21%   -0.04%     
==========================================
  Files          69       69              
  Lines        9914     9921       +7     
==========================================
+ Hits         6072     6073       +1     
- Misses       3842     3848       +6     

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

@arcbtc arcbtc self-requested a review June 28, 2024 16:12
@motorina0 motorina0 merged commit fb17611 into dev Jul 4, 2024
@motorina0 motorina0 deleted the fetch_user_id_decorator branch July 4, 2024 14:24
motorina0 added a commit that referenced this pull request Jul 10, 2024
* feat: add `optional_user_id` decorator
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.

4 participants