Fix return type for post_donation

This commit is contained in:
Fitti 2021-06-22 13:24:11 +02:00
parent 74af2c0b02
commit 9c2c04dad2

View file

@ -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