Donation is a type of payment

main
Bob Mottram 2023-05-12 18:40:31 +01:00
parent d2dd3ab54f
commit 29234e2a6c
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ def set_donation_url(actor_json: {}, donate_url: str) -> None:
new_donate = {
"name": donate_name,
"type": "PropertyValue",
"value": donate_value
"value": donate_value,
"rel": "payment"
}
actor_json['attachment'].append(new_donate)