Update main.py
Browse files
main.py
CHANGED
@@ -89,7 +89,7 @@ async def get_data(user_id:int,
|
|
89 |
decoded_payload = jwt.decode(token, SECRET_KEY, algorithms=["HS256"])
|
90 |
print(f"Decoded payload: {decoded_payload}")
|
91 |
except:
|
92 |
-
|
93 |
#try:
|
94 |
# Determine the file type by reading the first few bytes
|
95 |
file_content = await input_file.read()
|
|
|
89 |
decoded_payload = jwt.decode(token, SECRET_KEY, algorithms=["HS256"])
|
90 |
print(f"Decoded payload: {decoded_payload}")
|
91 |
except:
|
92 |
+
print("Invalid token")
|
93 |
#try:
|
94 |
# Determine the file type by reading the first few bytes
|
95 |
file_content = await input_file.read()
|