From 878ebbd3b3f74bc74c5b6c9a15e85402ef40693c Mon Sep 17 00:00:00 2001 From: cp-jagruti-a Date: Wed, 8 Nov 2023 16:26:11 +0530 Subject: [PATCH] Create API to fetch career page images and show them on career page --- nuxt-frontend/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt-frontend/utils.js b/nuxt-frontend/utils.js index f523849b3..7c383965a 100644 --- a/nuxt-frontend/utils.js +++ b/nuxt-frontend/utils.js @@ -34,7 +34,7 @@ function setGithubStars(contributions, githubRepos) { .filter( (repo) => repo.name == - contribution.link.slice(contribution.link.lastIndexOf("/") + 1) + contribution.link.slice(contribution.link.lastIndexOf("/") + 1), ) .map((repo) => repo.stargazers_count.toString())[0]; }); @@ -77,7 +77,7 @@ function getJobDates() { currentDay <= maxDays ? startDateOfMonth : new Date( - startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays) + startDateOfMonth.setDate(startDateOfMonth.getDate() + maxDays), ); const datePosted = jobPosted.toISOString().split("T")[0];