We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm upgrading Elk to use masto v6, and the API looks great! Thanks for keep improving Masto.js @neet!
It seems v2.search.fetch isn't working as expected though. It should return a Paginator:
Paginator
masto.js/src/mastodon/rest/v2/search-repository.ts
Line 33 in e886410
But it is currently returning the results directly:
masto.js/tests/rest/v2/search.spec.ts
Line 7 in e886410
The Search entity also has a type issue for Tag, as it should be an array (same as statuses and accounts):
Search
Tag
masto.js/src/mastodon/entities/v2/search.ts
Line 13 in e886410
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 6.5.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Hi @patak-dev! Thank you for the kind words.
I released patch #1020 #1019 so it should work now. You need to change fetch to list due to the naming convention.
fetch
list
- masto.v2.search.fetch({ q: "cat" }) + masto.v2.search.list({ q: "cat" })
If you get any other problem, please feel free to let me know :)
Thanks a lot for the quick fix @neet! It works like a charm now
Successfully merging a pull request may close this issue.
I'm upgrading Elk to use masto v6, and the API looks great! Thanks for keep improving Masto.js @neet!
It seems v2.search.fetch isn't working as expected though. It should return a
Paginator
:masto.js/src/mastodon/rest/v2/search-repository.ts
Line 33 in e886410
But it is currently returning the results directly:
masto.js/tests/rest/v2/search.spec.ts
Line 7 in e886410
The
Search
entity also has a type issue forTag
, as it should be an array (same as statuses and accounts):masto.js/src/mastodon/entities/v2/search.ts
Line 13 in e886410
The text was updated successfully, but these errors were encountered: