1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-08-24 06:47:11 +00:00

Fixed star count on website

This commit is contained in:
2023-06-23 18:42:03 +02:00
parent 77ce1ab842
commit 58dd9de4ba
3 changed files with 3 additions and 6 deletions

View File

@ -2,7 +2,7 @@ const { default: fetch } = require("node-fetch")
module.exports = async function() {
try {
const res = await fetch('https://api.github.com/repos/garraflavatra/alphabets');
const res = await fetch('https://api.github.com/repos/garraflavatra/rolens');
const json = await res.json();
return { stars: json.stargazers_count || 0 };
}