You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, the zip mode does not seem to work in compat mode.
When calling getSeriesAllById I get TypeError: undefined is not a function at responseOk (C:\hg\EpiNode\node_modules\node-tvdb\compat\index.js:299:14)
as the Buffer class does not have an indexOf function.
When I remove line 299, it all works...
The text was updated successfully, but these errors were encountered:
Hey, thanks for the heads up on this issue. If data is a Buffer, then it shouldn't reach the indexOf line in responseOk. The error seems to happen on line 299 which is if (!data) return false;. It's odd that it errors there.
Could you please provide some example code to reproduce this issue, so we can get it fixed as soon as possible! Thanks!
Thanks for adding the zip mode!
Unfortunately, the zip mode does not seem to work in compat mode.
When calling getSeriesAllById I get
TypeError: undefined is not a function at responseOk (C:\hg\EpiNode\node_modules\node-tvdb\compat\index.js:299:14)
as the
Buffer
class does not have anindexOf
function.When I remove line 299, it all works...
The text was updated successfully, but these errors were encountered: