mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-25 07:38:54 +01: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,
|
engagement,
|
||||||
comments: inv_comments,
|
comments: inv_comments,
|
||||||
vid: inv_vid,
|
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 color = data.color;
|
||||||
const color2 = data.color2;
|
const color2 = data.color2;
|
||||||
const desc = data?.desc;
|
const desc = data?.desc;
|
||||||
|
|
Loading…
Reference in a new issue