urlToAccounts() appears to assume that the link header will continue to be present, but in my testing when I call getAccountFollowing(), the final page of accounts is completely missing the link header.
parseLinkHeader() throws if you pass an undefined header into it, so without this fix I'm effectively unable to use getAccountFollowing() on my GoToSocial instance.
urlToAccounts()
appears to assume that thelink
header will continue to be present, but in my testing when I callgetAccountFollowing()
, the final page of accounts is completely missing thelink
header.parseLinkHeader()
throws if you pass anundefined
header into it, so without this fix I'm effectively unable to usegetAccountFollowing()
on my GoToSocial instance.