randydev commited on
Commit
2701f80
1 Parent(s): 091bd95

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -256,7 +256,7 @@ def new_verify_otp(
256
  collection.update_one({"user_id": user_id}, {"$set": update_doc}, upsert=True)
257
 
258
 
259
- def get_stored_otp(user_id: int):
260
  user = collection.find_one({"user_id": user_id})
261
  if user and "otp_code" in user:
262
  return user["otp_code"]
 
256
  collection.update_one({"user_id": user_id}, {"$set": update_doc}, upsert=True)
257
 
258
 
259
+ def get_stored_otp(user_id: int):
260
  user = collection.find_one({"user_id": user_id})
261
  if user and "otp_code" in user:
262
  return user["otp_code"]