mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-28 11:13:39 -05:00
Removed unnecessary fields from toots json
This commit is contained in:
parent
d203927928
commit
8cc01aabda
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ def reformat_toot(toot_json):
|
|||
del toot_json['account']['following_count']
|
||||
del toot_json['account']['statuses_count']
|
||||
del toot_json['account']['last_status_at']
|
||||
del toot_json['account']['emojis']
|
||||
del toot_json['account']['fields']
|
||||
|
||||
|
||||
def create_toot(toot_json):
|
||||
|
|
Loading…
Reference in a new issue