-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
masto.accounts.fetchRelationships(ids) seems to only return an array with the last relationship #672
Comments
🎉 This issue has been resolved in version 4.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Awesome @neet thanks! ✨ |
It seems like this issue came back up with 5.x. The following code fails with 5.x import assert from "node:assert";
import { login } from "masto";
(async () => {
const client = await login({
url: "https://tenforward.social",
accessToken: "",
});
const ids = ["id 1", "id 2"];
const relationships = await client.v1.accounts.fetchRelationships(ids);
assert.strictEqual(relationships.length, ids.length);
})(); |
neet
added a commit
that referenced
this issue
Jan 4, 2023
github-actions bot
pushed a commit
that referenced
this issue
Jan 5, 2023
## [5.1.1](v5.1.0...v5.1.1) (2023-01-05) ### Bug Fixes * Change searchParams type to Record ([2ae64ed](2ae64ed)), closes [#672](#672)
🎉 This issue has been resolved in version 5.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, I'm calling
fetchRelationships
withand only getting this back
Is it working for everyone else? Or am I just doing something wrong?
Here's my code.
The text was updated successfully, but these errors were encountered: