Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 221203d889 1.244.82 2025-12-15 01:36:11 +01:00
DebaucheryLibrarian b4cb66111f Fixed tag association failing if tag is missing. 2025-12-15 01:36:08 +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.244.81",
"version": "1.244.82",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.244.81",
"version": "1.244.82",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-s3": "^3.458.0",

View File

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

View File

@ -76,7 +76,7 @@ function withRelations(queryBuilder, withMedia) {
async function matchReleaseTags(releases) {
const tags = releases
.map((release) => release.tags).flat()
.map((tag) => tag.trim().toLowerCase())
.map((tag) => tag?.trim().toLowerCase())
.filter(Boolean);
const tagEntries = await knex('tags')