diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 361abe1..2151cb2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,7 @@ v2.1.0 (IN PROGRESS) * Added missing `replies_policy` and `exclusive` parameters to list creation and update methods. * Add status length counter `get_status_length` (Thanks @yuletide for the suggestion) * Fix `notifications` returning nonsense when passing a single `id` (Thanks @chinchalinchin for the report) +* Fix `moved` accidentally being named `moved_to_account` (Thanks @unusualevent for the report) v2.0.1 ------ diff --git a/mastodon/return_types.py b/mastodon/return_types.py index c653e88..1678374 100644 --- a/mastodon/return_types.py +++ b/mastodon/return_types.py @@ -169,7 +169,7 @@ class Account(AttribAccessDict): * 1.1.2: added """ - moved_to_account: "Optional[Account]" + moved: "Optional[Account]" """ If set, Account that this user has set up as their moved-to address. (optional) diff --git a/srcgen/return_types.json b/srcgen/return_types.json index 92c7823..dc66e8e 100644 --- a/srcgen/return_types.json +++ b/srcgen/return_types.json @@ -276,7 +276,7 @@ ], "enum": null }, - "moved_to_account": { + "moved": { "description": "If set, Account that this user has set up as their moved-to address.", "field_type": "Account", "field_subtype": null,