make "anonymous" as default name
This commit is contained in:
parent
a374526faf
commit
42b444f54d
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ async def api_create_donation(data: CreateDonation, request: Request):
|
|||
service_id = data.service
|
||||
service = await get_service(service_id)
|
||||
charge_details = await get_charge_details(service.id)
|
||||
name = data.name
|
||||
name = data.name if data.name else "Anonymous"
|
||||
|
||||
description = f"{sats} sats donation from {name} to {service.twitchuser}"
|
||||
create_charge_data = CreateCharge(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue