From 83662cd41564e7486fca53eb9a73e0129613ffdb Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Thu, 5 Jun 2025 05:12:59 -0500 Subject: [PATCH] error in field name --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 3af1857..9233f9d 100644 --- a/app.py +++ b/app.py @@ -17,5 +17,5 @@ if source_object.reason == "OK": print(choices[0]) choice = choices[randint(0, len(choices) - 1)] headers = {'Authorization': 'Bearer ' + post_token} - payload = {'status': f"{choice['quote']}\n\n - {choice['author']}\n\n#RandomQuote #quotes #quote #bot", 'privacy': 'public'} + payload = {'status': f"{choice['quote']}\n\n - {choice['author']}\n\n#RandomQuote #quotes #quote #bot", 'visibility': 'public'} response = post(post_endpoint, headers=headers, data=payload)