opensubtitles-api icon indicating copy to clipboard operation
opensubtitles-api copied to clipboard

TypeError: Cannot read property 'length' of undefined

Open SubJunk opened this issue 3 years ago • 0 comments

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

SubJunk avatar May 24 '21 08:05 SubJunk