Storing associations if existing media are found.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user