update example
This commit is contained in:
@@ -3,14 +3,11 @@ const GetFlix = require('../index');
|
||||
const getflix = new GetFlix('d9d6007d1bcf12043db5a085ae3e5bbb');
|
||||
const getInfo = async () => {
|
||||
try {
|
||||
const info = await getflix.getInfo('802329261');
|
||||
if(info == null) {
|
||||
console.log('null');
|
||||
|
||||
}
|
||||
const info = await getflix.getInfo('80244780');
|
||||
console.log(info);
|
||||
|
||||
} catch (error) {
|
||||
// console.log(error);
|
||||
console.log(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user