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

Fix TypeError on item creation if JIT invoicing is used #744

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

ekzyis
Copy link
Member

@ekzyis ekzyis commented Jan 10, 2024

Fix #743

@ekzyis ekzyis added the bug label Jan 10, 2024
@ekzyis ekzyis mentioned this pull request Jan 11, 2024
3 tasks
Comment on lines +89 to +90
// remove first element since that is the confirmed invoice
[, ...results] = results
Copy link
Member Author

Choose a reason for hiding this comment

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

I actually don't know what the first element is but it should be the confirmed invoice. But it's a 1, not a 0 which is what confirm_invoice should return. 🤔

@huumn huumn merged commit 39c9775 into master Jan 11, 2024
1 check passed
@ekzyis ekzyis deleted the 743-jit-invoices-item-creation-typeerror branch February 14, 2024 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Item creation with JIT invoices fails with TypeError
2 participants