Fix return type for post_donation
This commit is contained in:
parent
74af2c0b02
commit
9c2c04dad2
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ async def create_donation(
|
||||||
return await get_donation(id)
|
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)
|
donation = await get_donation(donation_id)
|
||||||
if donation.posted:
|
if donation.posted:
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue