forked from DebaucheryLibrarian/traxxx
Storing associations if existing media are found.
This commit is contained in:
parent
9abc1d48ac
commit
4bcf7ef45b
|
@ -828,7 +828,7 @@ async function associateReleaseMedia(releases, type = 'release') {
|
|||
const media = storedMediasById[baseMedia.id];
|
||||
const mediaId = media?.use || media?.entry?.id;
|
||||
|
||||
if (mediaId && storedMediasById[mediaId]) {
|
||||
if (mediaId) {
|
||||
acc.push({
|
||||
[`${type}_id`]: releaseId,
|
||||
media_id: mediaId,
|
||||
|
|
Loading…
Reference in New Issue