🐛 Fixes server requests
Gitea Build Action / build-go (push) Successful in 27s
Gitea Build Action / build-nuxt (push) Successful in 10m40s

This commit is contained in:
Daniel Svitan committed 2025-06-07 15:49:34 +02:00
1 parent cf35326bf2
commit 53722bdf18
4 files changed
+25 -18

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ class App:
try:
r = urequests.post(
f"{self.server}/opened",
headers={"Authorization": self.token, "Content-Type": "application/json"},
headers={"Authorization": f"Bearer {self.token}", "Content-Type": "application/json"},
data=raw
)
print(f"State updated [{r.status_code}] {r.content.decode()}")