fix(linkedin): resolve issue where locaion is null

This commit is contained in:
Cullen Watson
2023-07-08 21:16:34 -05:00
parent 0da7ea59d0
commit 405842f90e
4 changed files with 8 additions and 7 deletions

View File

@@ -9,9 +9,7 @@ router = APIRouter(prefix="/jobs")
@router.get("/")
async def scrape_jobs(
site_type: str, search_term: str, location: str, page: int = None
):
async def scrape_jobs(site_type: str, search_term: str, location: str, page: int = 1):
job_response = {"message": "site type not found"}
scraper_dict = {