fix little comment bug
This commit is contained in:
@@ -103,7 +103,7 @@ class FlixInfo {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Return the error if imdb id cannot be found
|
// Return the empty result if tmdb return empty
|
||||||
const returnResult = { result: 0, error: 0 };
|
const returnResult = { result: 0, error: 0 };
|
||||||
cb(returnResult)
|
cb(returnResult)
|
||||||
}
|
}
|
||||||
@@ -113,7 +113,7 @@ class FlixInfo {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
else {
|
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 };
|
const returnResult = { result: 0, error: 0 };
|
||||||
cb(returnResult)
|
cb(returnResult)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user