Skip to content

Commit

Permalink
docs: fix stargazer number
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-schroeder committed Feb 14, 2024
1 parent b20d777 commit d860cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/server/api/stars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineEventHandler(async (event) => {
const data = (await res.json()) as { stargazers_count: number }
await useStorage("kv").setItem(
"tempo-stars",
`${data.stargazers_count}|${Date.now()}`
`${Date.now()}|${data.stargazers_count}`
)
return { stars: data.stargazers_count }
}
Expand Down

0 comments on commit d860cfe

Please sign in to comment.