Skip to content

Commit

Permalink
changed json layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Dec 21, 2024
1 parent 3f30b40 commit aac6ae3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/widget/widget.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ export class WidgetService {
description: process.env.DESCRIPTION,
followers: github_data.data.user?.followers?.totalCount,
total_stars: github_data.data.user?.repositories?.totalCount,
top_repos: top_repos,
github_streak: streak ? {
current_streak: streak.streak,
longest_streak: streak.longest
} : undefined,
github: {
top_repos: top_repos,
streak: streak ? {
current: streak.streak,
longest: streak.longest
} : undefined,
},
wakatime: {
all_time: wakatime_global?.data?.grand_total?.human_readable_total_including_other_language,
top_langs: top_langs
Expand Down

0 comments on commit aac6ae3

Please sign in to comment.