Merge pull request #380 from arcbtc/FastAPI
restored create invoice api endpoint
This commit is contained in:
commit
4e6c9548ee
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ async def create_invoice(
|
|||
webhook: Optional[str] = None,
|
||||
conn: Optional[Connection] = None,
|
||||
) -> Tuple[str, str]:
|
||||
if not memo:
|
||||
if memo == None:
|
||||
memo = "LN payment"
|
||||
invoice_memo = None if description_hash else memo
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue