mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-06 12:47:44 +00:00
Removing login filter
I only have one GitHub account now and its this one :)
This commit is contained in:
@@ -7,7 +7,7 @@ export const load: PageLoad = async ({ fetch }) => {
|
|||||||
const res = await fetch('https://api.github.com/repos/skeletonlabs/skeleton/contributors?per_page=102');
|
const res = await fetch('https://api.github.com/repos/skeletonlabs/skeleton/contributors?per_page=102');
|
||||||
if (!res.ok) return []; // return an empty list
|
if (!res.ok) return []; // return an empty list
|
||||||
const body = (await res.json()) as Contributor[];
|
const body = (await res.json()) as Contributor[];
|
||||||
return body.filter((c) => c.login !== 'github-actions[bot]' && c.login !== 'LukeHagar');
|
return body.filter((c) => c.login !== 'github-actions[bot]');
|
||||||
};
|
};
|
||||||
return { contributors: getContributors() };
|
return { contributors: getContributors() };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user