Skip to content

Commit

Permalink
Add search for user #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 19, 2024
1 parent e4c0054 commit e9fca85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
});
}

// Function to fetch all items (followers or followings) for a user
async function loadGraph(userId) {
// Fetch followers and followings
const followers = await fetchAllItems(userId, 'followers', apiBaseUrl);
Expand Down

0 comments on commit e9fca85

Please sign in to comment.