Storing photo counts.

This commit is contained in:
DebaucheryLibrarian
2023-11-07 04:46:45 +01:00
parent ac904c849d
commit edc724b475
4 changed files with 21 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ async function curateReleaseEntry(release, batchId, existingRelease, type = 'sce
slug,
description: decode(release.description),
comment: release.comment,
photo_count: Number(release.photoCount) || null,
deep: typeof release.deep === 'boolean' ? release.deep : false,
deep_url: release.deepUrl,
updated_batch_id: batchId,