ascolda commited on
Commit
b966cec
·
verified ·
1 Parent(s): 343e02e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def find_job(city:str, keyword:int)-> str: #it's import to specify the return ty
46
 
47
  url = f'https://{host}/api/{key}'
48
  headers = {"Content-type": "application/json"}
49
- body = '{ "keywords": ' + keyword + ', "location": ' + city + '}'
50
 
51
  response = requests.post(url, data=body, headers=headers)
52
  return response.json()['jobs'][0:10]
 
46
 
47
  url = f'https://{host}/api/{key}'
48
  headers = {"Content-type": "application/json"}
49
+ body = '{ "keywords": "' + keyword + '", "location": "' + city + '"}'
50
 
51
  response = requests.post(url, data=body, headers=headers)
52
  return response.json()['jobs'][0:10]