add somethin to check if data video

This commit is contained in:
Ashley 2022-12-16 19:16:32 +00:00
parent b08b73ae52
commit 349cc76dfa

View file

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