mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 00:14:39 -05:00
use ?.
This commit is contained in:
parent
d67be44a3f
commit
fab6f2fd73
1 changed files with 2 additions and 2 deletions
|
@ -357,9 +357,9 @@ module.exports = function (app, config, renderTemplate) {
|
|||
engagement,
|
||||
comments: inv_comments,
|
||||
vid: inv_vid,
|
||||
} = await INNERTUBE.getYouTubeApiVideo(f, v);
|
||||
} = await INNERTUBE?.getYouTubeApiVideo(f, v);
|
||||
|
||||
const data = await INNERTUBE.getYouTubeApiVideo(f, v);
|
||||
const data = await INNERTUBE?.getYouTubeApiVideo(f, v);
|
||||
const color = data.color;
|
||||
const color2 = data.color2;
|
||||
const desc = data?.desc;
|
||||
|
|
Loading…
Reference in a new issue