forked from DebaucheryLibrarian/traxxx
Fixed scenes without movies spawning empty movie objects and triggering 'missing entry ID' warning.
This commit is contained in:
@@ -255,7 +255,8 @@ async function fetchLatest(entity, page, options) {
|
||||
|
||||
// release.poster = `http://${config.web.host}:${config.web.port}/img/${poster}?id=${nanoid()}`; // ensure source is unique
|
||||
release.poster = `http://${config.web.host}:${config.web.port}/img/${poster}`; // ensure source is unique
|
||||
release.photos = photos.map(photo => `http://${config.web.host}:${config.web.port}/img/${photo}?id=${nanoid()}`);
|
||||
// release.photos = photos.map(photo => `http://${config.web.host}:${config.web.port}/img/${photo}?id=${nanoid()}`);
|
||||
release.photos = [release.poster];
|
||||
}
|
||||
|
||||
release.tags = await knex('tags')
|
||||
|
||||
Reference in New Issue
Block a user