Skip to content

Commit

Permalink
Update getGithubRepos.js
Browse files Browse the repository at this point in the history
API parameter ?sort=updated
  • Loading branch information
IgorCoraine authored Mar 18, 2024
1 parent bd3e9b7 commit 991f52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/getGithubRepos.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document.addEventListener('DOMContentLoaded', function () {
fetch('https://api.github.com/users/igorcoraine/repos') //github api
fetch('https://api.github.com/users/igorcoraine/repos?sort=updated') //github api
.then(response => response.json())
.then(data => {
const repoList = document.getElementById('my_repos'); //portifolio div on html
Expand Down

0 comments on commit 991f52f

Please sign in to comment.