mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 12:58:25 +01:00
add somethin to check if data video
This commit is contained in:
parent
b08b73ae52
commit
349cc76dfa
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