We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3665399 commit 97e84d4Copy full SHA for 97e84d4
code.js
@@ -1,6 +1,6 @@
1
// Function to fetch data from the API and output JSON
2
async function fetchData() {
3
- const apiUrl = 'https://api.green-coding.io/v1/runs?uri=https%3A%2F%2Fgithub.com%2Fgreen-coding-solutions%2Fwebsite-tester&limit=5';
+ const apiUrl = 'https://api.green-coding.io/v2/runs?uri=https%3A%2F%2Fgithub.com%2Fgreen-coding-solutions%2Fwebsite-tester&limit=5';
4
5
try {
6
const response = await fetch(apiUrl);
0 commit comments