Skip to content
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

Add stub API endpoint for user suggestion (api/v2/suggestions) #631

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

shuuji3
Copy link
Contributor

@shuuji3 shuuji3 commented Aug 16, 2023

I'm testing Takahē with Elk now and fount "For you" tab always returns an error.

For you | Explore | Elk - https://elk.zone/takahe.social/explore/users
Screenshot 2023-08-16 at 13 28 16

I'm not sure if Takahē will have this functionality or not yet, but I think returning an empty response would be nice to have to avoid errors for now same as the existing trends endpoint.

@andrewgodwin andrewgodwin merged commit 679f0de into jointakahe:main Aug 17, 2023
3 checks passed
@andrewgodwin
Copy link
Member

Yup, adding empty responses is defintely better than erroring - thanks!

@shuuji3 shuuji3 deleted the feat/api-suggestions branch August 17, 2023 08:24
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.

2 participants