Merge pull request #381 from arcbtc/FastAPI

restored create invoice api endpoint
This commit is contained in:
Arc 2021-11-03 11:23:43 +00:00 committed by GitHub
commit a37350983a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ async def create_invoice(
*,
wallet_id: str,
amount: int, # in satoshis
memo: Optional[str] = None,
memo: str,
description_hash: Optional[bytes] = None,
extra: Optional[Dict] = None,
webhook: Optional[str] = None,