Skip to content

Commit

Permalink
Create API to fetch career page images and show them on career page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 8, 2023
1 parent 499780f commit 878ebbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt-frontend/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
});
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 878ebbd

Please sign in to comment.