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

News feed doesn't load since last week even after a reboot. #39

Open
Extenuate0083 opened this issue May 5, 2023 · 9 comments
Open

Comments

@Extenuate0083
Copy link

News feed doesn't load since last week even after a reboot. I have a "No valid post to display..." Message.

cACyvRD

@sdetweil
Copy link

sdetweil commented May 5, 2023

the code says it got a valid response
with data,
but not in the right format

        if (response.statusCode === 200) {  // good
            body = JSON.parse(body);
            if (typeof body.data !== "undefined") {  // good
                if (typeof body.data.children !== "undefined") { // oops..

and then it sends the message you see

@Extenuate0083
Copy link
Author

I'm an absolute noob in linux and I don't exactly know what this means. Can I fix it on my side or does the module need an update?

Thanks!

@sdetweil
Copy link

sdetweil commented May 5, 2023

module needs an update

@mumblebaj
Copy link

see fork that works
Working Fork

@Extenuate0083
Copy link
Author

Fantastic! How can I do that? I'm an absolute noob in linux.

@mumblebaj
Copy link

you would typically rename the existing module folder and then clone the module from the link I provided above. the exact same config should still work

@Extenuate0083
Copy link
Author

Omg It worked! I have my Reddit News back! Thank you so much mumblebaj!

@mumblebaj
Copy link

glad it works

@DillonBrown
Copy link

@mumblebaj can confirm this works for me as well. Thank you! @kjb085 I would recommend merging this in as a fix to your active repo.

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

4 participants