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

GetPostResponse broken? #37

Open
ThickPython opened this issue Jul 4, 2023 · 3 comments
Open

GetPostResponse broken? #37

ThickPython opened this issue Jul 4, 2023 · 3 comments

Comments

@ThickPython
Copy link

GetPostRequest causes JSON decode error because what it's decoding to doesn't match the API response

API response
image

What it tries to decode to
image

Decoder error says "key online isn't found" or something like that

@ThickPython
Copy link
Author

more:

image
i copy and pasted the whole thing and just changed it to this and it works fine

@ThickPython
Copy link
Author

Just realized i could've done a pull request but honestly i don't know git well enough

@fishcharlie
Copy link
Member

What version of this package are you using, and what server version of Lemmy are you using?

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

No branches or pull requests

2 participants