We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084bd74 commit 16f4659Copy full SHA for 16f4659
job/tasks.py
@@ -261,7 +261,9 @@ def process_jobs(account_pk: int, job_pks: list[int]):
261
job.full_location = job_data["location"]["defaultLocalizedName"]
262
job.listed_at = job_data["createdAt"]
263
264
- for workplace_type in job_data["*jobWorkplaceTypes"]:
+ for workplace_type in job_data.get("*jobWorkplaceTypes") or job_data.get(
265
+ "jobWorkplaceTypes", []
266
+ ):
267
workplace_type = workplace_type.split(":")[-1]
268
if workplace_type == "1":
269
job.on_site = True
0 commit comments