mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-29 13:22:37 +02:00
Fix return type for post_donation
This commit is contained in:
@@ -59,7 +59,7 @@ async def create_donation(
|
||||
return await get_donation(id)
|
||||
|
||||
|
||||
async def post_donation(donation_id: str) -> None:
|
||||
async def post_donation(donation_id: str) -> bool:
|
||||
donation = await get_donation(donation_id)
|
||||
if donation.posted:
|
||||
return False
|
||||
|
Reference in New Issue
Block a user