From 06329b62b1b39cc30e1811f314c13c18b3cd16d7 Mon Sep 17 00:00:00 2001 From: mintyfrankie <77310871+mintyfrankie@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:38:17 +0100 Subject: [PATCH] fix: accept suggestions from code review Signed-off-by: mintyfrankie <77310871+mintyfrankie@users.noreply.github.com> --- lib/routes/hiringcafe/jobs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/hiringcafe/jobs.ts b/lib/routes/hiringcafe/jobs.ts index 5159c025724a39..4db000de49d89f 100644 --- a/lib/routes/hiringcafe/jobs.ts +++ b/lib/routes/hiringcafe/jobs.ts @@ -19,7 +19,7 @@ export const route: Route = { source: ['hiring.cafe'], }, ], - name: 'HiringCafe Jobs', + name: 'Jobs', maintainers: ['mintyfrankie'], handler, }; @@ -53,12 +53,12 @@ async function handler(ctx) { const data = response.results[0].hits ?? []; const items = data.map((item) => { + // TODO: use template const { job_information: jobInfo, v5_processed_job_data: processedData, published_date, apply_url } = item; const title = `${jobInfo.title} - ${processedData.company_name}`; const description = ` -
Location: ${jobInfo.location}
Company: ${processedData.company_name}
${