diff --git a/lib/index.js b/lib/index.js index cbdcb80..d525fa7 100644 --- a/lib/index.js +++ b/lib/index.js @@ -103,7 +103,7 @@ class FlixInfo { }); } else { - // Return the error if imdb id cannot be found + // Return the empty result if tmdb return empty const returnResult = { result: 0, error: 0 }; cb(returnResult) } @@ -113,7 +113,7 @@ class FlixInfo { }) } else { - // Return the error if imdb id cannot be found + // Return the empty result if imdb id cannot be found const returnResult = { result: 0, error: 0 }; cb(returnResult) }