add closing "

pull/18/head
Cullen Watson 2023-08-27 11:06:52 -05:00
parent 6c0d47ae23
commit 595b608c53
1 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Verify results count - name: Verify results count
run: | run: |
curl -X 'POST' -H 'Content-Type: application/json' -d '{ curl -X 'POST' -H 'Content-Type: application/json' -d '{
"site_type": ["indeed", "linkedin", "zip_recruiter], "site_type": ["indeed", "linkedin", "zip_recruiter"], # <-- Added the missing closing double quote here
"search_term": "software engineer", "search_term": "software engineer",
"location": "austin, tx", "location": "austin, tx",
"distance": 10, "distance": 10,
@ -40,6 +40,9 @@ jobs:
"results_wanted": 5 "results_wanted": 5
}' http://0.0.0.0:8000/api/v1/jobs > response.json }' http://0.0.0.0:8000/api/v1/jobs > response.json
# Debugging log
cat response.json # <-- This will print the server response
indeed_results=$(jq '.indeed.returned_results' response.json) indeed_results=$(jq '.indeed.returned_results' response.json)
linkedin_results=$(jq '.linkedin.returned_results' response.json) linkedin_results=$(jq '.linkedin.returned_results' response.json)
zip_recruiter_results=$(jq '.zip_recruiter.returned_results' response.json) zip_recruiter_results=$(jq '.zip_recruiter.returned_results' response.json)