Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 5630b16e99 1.206.2 2022-02-07 01:57:14 +01:00
DebaucheryLibrarian 4bcf7ef45b Storing associations if existing media are found. 2022-02-07 01:57:09 +01:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.206.1",
"version": "1.206.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.206.1",
"version": "1.206.2",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.206.1",
"version": "1.206.2",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -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,