Arafath10 commited on
Commit
184ce21
·
verified ·
1 Parent(s): 2a08189

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- return "Invalid token"
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()