mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix: sponsor api
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
const sponsorFetch = await fetch('https://ghs.vercel.app/v2/sponsors/tomalaforge');
|
const sponsorFetch = await fetch('https://ghs.vercel.app/v2/sponsors/tomalaforge');
|
||||||
const data = await sponsorFetch.json();
|
const data = await sponsorFetch.json();
|
||||||
sponsors = data.sponsors.past;
|
sponsors = data.sponsors.current;
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user