Abhaykoul commited on
Commit
7f7f9e6
1 Parent(s): 95c9859

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def WEBScout2_search_search():
20
 
21
  @app.route('/int', methods=['GET'])
22
  def WEBScout3_search_search_search_search():
23
- query = request.args.get('query')
24
  if not query:
25
  return jsonify({'error': 'Query parameter missing'})
26
 
 
20
 
21
  @app.route('/int', methods=['GET'])
22
  def WEBScout3_search_search_search_search():
23
+ query = request.args.get('q')
24
  if not query:
25
  return jsonify({'error': 'Query parameter missing'})
26