nodejs-sdk
nodejs-sdk copied to clipboard
`fetchUserFollowersV2` has incorrect response type
The SDK (and OAS spec) indicates that the fetchUserFollowersV2
endpoint returns a UsersResponse
, but it actually returns a response with the following shape:
{
users: {
object: "follow",
user: UserV2 // Nesting here is not reflected in the spec/types
}[]
}
I haven't checked the other following APIs but it looks like they also have UsersResponse
listed so they may be incorrect as well.