From 6246433c13fb4a15ab2ae3b3d0d34b0701f89e04 Mon Sep 17 00:00:00 2001 From: cp-jagruti-a Date: Sat, 4 Nov 2023 10:18:43 +0530 Subject: [PATCH] Create API to fetch career page images and show them on career page --- go.mod | 3 --- nuxt-frontend/utils.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index f99c6f345..f3f793e28 100644 --- a/go.mod +++ b/go.mod @@ -20,11 +20,8 @@ replace leave => ./leave replace notification => ./notification -replace career => ./career - require ( blogs v0.0.0-00010101000000-000000000000 - career v0.0.0-00010101000000-000000000000 contact v0.0.0-00010101000000-000000000000 contribution v0.0.0-00010101000000-000000000000 db v0.0.0 diff --git a/nuxt-frontend/utils.js b/nuxt-frontend/utils.js index 54e857d48..6f0dcd4f4 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];