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

[REFACTOR] proper create_invoice responses for descriptions #1863

Merged
merged 3 commits into from Aug 24, 2023

Conversation

dni
Copy link
Member

@dni dni commented Aug 7, 2023

return a exception per error it is description hash or unhashed_description

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2023

Codecov Report

Merging #1863 (a72f7fe) into main (4e6f229) will decrease coverage by 1.05%.
The diff coverage is 66.66%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #1863      +/-   ##
==========================================
- Coverage   56.35%   55.30%   -1.05%     
==========================================
  Files          49       49              
  Lines        7529     7534       +5     
==========================================
- Hits         4243     4167      -76     
- Misses       3286     3367      +81     
Files Changed Coverage Δ
lnbits/core/views/api.py 36.11% <66.66%> (+0.27%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

lnbits/core/views/api.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@callebtc callebtc left a comment

Choose a reason for hiding this comment

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

Please keep the type.

@dni dni force-pushed the refactor-create-invoice branch 2 times, most recently from 81ef58d to 807cf13 Compare August 23, 2023 11:53
lnbits/core/views/api.py Outdated Show resolved Hide resolved
lnbits/core/views/api.py Outdated Show resolved Hide resolved
dni and others added 3 commits August 24, 2023 12:44
return a exception per error it is description hash or unhashed_description
keep types
Co-authored-by: michael1011 <me@michael1011.at>
Co-authored-by: michael1011 <me@michael1011.at>
@dni dni merged commit 7343d1e into main Aug 24, 2023
46 checks passed
@dni dni deleted the refactor-create-invoice branch August 24, 2023 10:58
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.

None yet

7 participants