use headers to auth when posting

This commit is contained in:
Ruben 2025-04-19 12:04:38 -05:00
commit 29e63b8b14
No known key found for this signature in database
GPG key ID: AE181294E97E4802

View file

@ -18,8 +18,6 @@ text = text.replace('@','@').replace('#','#')
print(text)
requests.post("https://beeping.synth.download/api/iceshrimp/notes", json={
'i': secrets__.TOKEN,
'visibility': 'home',
'text': text,
})
}, headers={"Authorization": f"Bearer {secrets__.TOKEN}"})