mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 08:18:29 +01:00
add somethin to check if data video
This commit is contained in:
parent
380c66ed01
commit
90e25c74c3
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
|||
});
|
||||
} }
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue