lib/firstjob_api/publication.rb in firstjob_api-1.0.5 vs lib/firstjob_api/publication.rb in firstjob_api-1.0.6
- old
+ new
@@ -53,10 +53,10 @@
def postulants
# Get postulants
response = FirstjobApi.post("/api/get_applicants_job",
FirstjobApi.options.merge(
- body: FirstjobApi.body.merge({job_id: @id}).to_json
+ body: FirstjobApi.body.merge({job_id: @id, slug: @slug}).to_json
)
)
response_body = HttpParser.parse_json_response(response)
# load results