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

TypeError: Cannot read property 'length' of undefined #59

Open
SubJunk opened this issue May 24, 2021 · 0 comments
Open

TypeError: Cannot read property 'length' of undefined #59

SubJunk opened this issue May 24, 2021 · 0 comments

Comments

@SubJunk
Copy link
Contributor

SubJunk commented May 24, 2021

It seems that https://github.com/vankasteelj/opensubtitles-api/blob/master/index.js#L190 expects the movie hash to be in the response.data object but it's not always there, as I can see in my server logs:

TypeError: Cannot read property 'length' of undefined
    at opensubtitles-api/index.js:190:52
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

1 participant