Skip to content

Conversation

@ssiyad
Copy link

@ssiyad ssiyad commented Dec 1, 2025

async fn followers() -> Vec<Follower> {
    let octo = octocrab::instance();
    octo.users(USER)
        .followers()
        .send()
        .await
        .unwrap()
        .into_stream(&octo)
        .try_collect::<Vec<Follower>>()
        .await
        .unwrap()
}

This results in a 404 error because the path being called is /users/users/<username>/followers. This PR removes the extra /users part. Same for following.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant