add somethin to check if data video

This commit is contained in:
Ashley 2022-12-16 19:16:32 +00:00
parent 380c66ed01
commit 90e25c74c3

View file

@ -181,6 +181,7 @@ module.exports = function (app, config, renderTemplate) {
const engagement = data.engagement; const engagement = data.engagement;
var inv_comments = data.comments; var inv_comments = data.comments;
const inv_vid = data.vid; const inv_vid = data.vid;
if(data.video) {
if(json) { if(json) {
if(json.Title) { if(json.Title) {
@ -238,7 +239,7 @@ module.exports = function (app, config, renderTemplate) {
}); });
} } } }
}
}); });