Compare commits
No commits in common. "8e7b944b521ec30da5d94b9de8c51723bd159a15" and "cb459d4cc7449c8846a3ed373eda023ba87d3ae0" have entirely different histories.
8e7b944b52
...
cb459d4cc7
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.137.3",
|
"version": "1.137.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.137.3",
|
"version": "1.137.2",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -6,7 +6,6 @@ const parentNetworks = [
|
||||||
slug: 'gamma',
|
slug: 'gamma',
|
||||||
name: 'Gamma Entertainment',
|
name: 'Gamma Entertainment',
|
||||||
url: 'https://www.gammaentertainment.com',
|
url: 'https://www.gammaentertainment.com',
|
||||||
alias: ['gammaentertainment'],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: 'hush',
|
slug: 'hush',
|
||||||
|
|
|
@ -20,7 +20,6 @@ function curateEntity(entity, includeParameters = false) {
|
||||||
description: entity.description,
|
description: entity.description,
|
||||||
slug: entity.slug,
|
slug: entity.slug,
|
||||||
type: entity.type,
|
type: entity.type,
|
||||||
aliases: entity.alias,
|
|
||||||
parent: curateEntity(entity.parent, includeParameters),
|
parent: curateEntity(entity.parent, includeParameters),
|
||||||
} : {};
|
} : {};
|
||||||
|
|
||||||
|
@ -133,9 +132,8 @@ async function fetchEntity(entityId, type) {
|
||||||
|
|
||||||
if (type) {
|
if (type) {
|
||||||
queryBuilder
|
queryBuilder
|
||||||
.where('entities.type', type)
|
|
||||||
.where('entities.slug', entityId)
|
.where('entities.slug', entityId)
|
||||||
.orWhere(knex.raw(':entityId = ANY(entities.alias)', { entityId }));
|
.where('entities.type', type);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue