fix redirect issue

This commit is contained in:
2025-08-31 21:09:28 +03:00
parent b3145714cc
commit 85e6f998f7
4 changed files with 4 additions and 4 deletions

View File

@@ -990,7 +990,7 @@ class OrdersEditPage:
if not token:
self.message.value = "Unauthorized: No token"
return
response = requests.get(f"{API_BASE_URL}/profile", headers={"Authorization": f"Bearer {token}"})
response = requests.get(f"{API_BASE_URL}/profile/", headers={"Authorization": f"Bearer {token}"})
if response.status_code == 200:
user_data = response.json()
return user_data