From c124928db46bfa5d62b33cd33b3e18464621ca48 Mon Sep 17 00:00:00 2001 From: cp-jagruti-a Date: Fri, 3 Nov 2023 12:51:14 +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 992ec897a..b58d94e71 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];