mirror of
https://github.com/diced/zipline.git
synced 2025-12-12 15:50:11 -08:00
fix: no thumbnailId
This commit is contained in:
@@ -55,6 +55,9 @@ async function start() {
|
||||
where: {
|
||||
id,
|
||||
},
|
||||
include: {
|
||||
thumbnail: true,
|
||||
},
|
||||
});
|
||||
|
||||
if (!file) {
|
||||
@@ -67,7 +70,7 @@ async function start() {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
if (file.thumbnailId) {
|
||||
if (file.thumbnail) {
|
||||
logger.info('thumbnail already exists');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user