mirror of https://github.com/calzoneman/sync.git
Fix wrong variable reference
This commit is contained in:
parent
8c50655ff2
commit
0102b92730
|
@ -961,9 +961,9 @@ function isExpired(media) {
|
|||
if (media.meta.expiration && media.meta.expiration < Date.now()) {
|
||||
return true;
|
||||
} else if (media.type === "gd") {
|
||||
return !media.object;
|
||||
return !media.meta.object;
|
||||
} else if (media.type === "vi") {
|
||||
return !media.direct;
|
||||
return !media.meta.direct;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue