Jason commited on
Commit
91d8600
·
1 Parent(s): c5dffd3

fix bug: request to URL and without sub link

Browse files
Files changed (1) hide show
  1. helpers/query.py +1 -1
helpers/query.py CHANGED
@@ -11,7 +11,7 @@ else:
11
  URL = config['DEVELOPMENT']['URL']
12
 
13
  def fetch_all_data() -> pd.DataFrame:
14
- r = requests.get(URL)
15
 
16
  if r.status_code == 200:
17
  res = r.json()
 
11
  URL = config['DEVELOPMENT']['URL']
12
 
13
  def fetch_all_data() -> pd.DataFrame:
14
+ r = requests.get(URL+"/query")
15
 
16
  if r.status_code == 200:
17
  res = r.json()