mrfirdauss commited on
Commit
2fd7c25
·
1 Parent(s): d1fc69e

fix visa check

Browse files
Files changed (1) hide show
  1. server.py +1 -0
server.py CHANGED
@@ -60,6 +60,7 @@ def create_app() -> Flask:
60
  raw = request.get_data(as_text=True)
61
  body = json.loads(raw)
62
  source = body.get('source')
 
63
  destination = body.get('destination')
64
  async with PassportIndexVisaScraper(debug=True) as scraper:
65
  if not await scraper.initialize_session():
 
60
  raw = request.get_data(as_text=True)
61
  body = json.loads(raw)
62
  source = body.get('source')
63
+ logging.info(f"Received visa check request: {body}")
64
  destination = body.get('destination')
65
  async with PassportIndexVisaScraper(debug=True) as scraper:
66
  if not await scraper.initialize_session():