Skip to content

Commit b8c426f

Browse files
Merge pull request #9 from tomasz-sieminski/feat/update-api-version-in-samples
#6 | Updated api version in samples
2 parents c2948f2 + 948d9de commit b8c426f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/resources/static/contributors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1 class="text-3xl font-bold mb-6 text-center">Contributors</h1>
2727
<script>
2828

2929
async function fetchContributors() {
30-
const response = await fetch('/api/contributors');
30+
const response = await fetch('/api/v2/contributors');
3131
const contributors = await response.json();
3232
return contributors;
3333
}

src/main/resources/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="text-3xl font-bold mb-6 text-center">Good First Issues</h1>
5050

5151

5252
async function fetchIssues() {
53-
const response = await fetch('/api/good-first-issues');
53+
const response = await fetch('/api/v2/issues');
5454
const issues = await response.json();
5555
return issues;
5656
}

0 commit comments

Comments
 (0)