Skip to content

Commit

Permalink
fix: accept suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: mintyfrankie <[email protected]>
  • Loading branch information
mintyfrankie committed Dec 11, 2024
1 parent 81cfcaa commit 06329b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/routes/hiringcafe/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const route: Route = {
source: ['hiring.cafe'],
},
],
name: 'HiringCafe Jobs',
name: 'Jobs',
maintainers: ['mintyfrankie'],
handler,
};
Expand Down Expand Up @@ -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 = `
<h1>${jobInfo.title}</h1>
<p><strong>Location:</strong> ${jobInfo.location}</p>
<p><strong>Company:</strong> ${processedData.company_name}</p>
${
Expand Down

0 comments on commit 06329b6

Please sign in to comment.