Compare commits
No commits in common. "ef852f0191171d8be5dec1ad954b0d2621f5996c" and "47238b2969a77fa3412c13747b820dbd26b324f6" have entirely different histories.
ef852f0191
...
47238b2969
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.137.6",
|
"version": "1.137.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.137.6",
|
"version": "1.137.5",
|
||||||
"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": {
|
||||||
|
|
|
@ -141,11 +141,8 @@ async function fetchEntity(entityId, type) {
|
||||||
if (type) {
|
if (type) {
|
||||||
queryBuilder
|
queryBuilder
|
||||||
.where('entities.type', type)
|
.where('entities.type', type)
|
||||||
.where((whereBuilder) => {
|
.where('entities.slug', entityId)
|
||||||
whereBuilder
|
.orWhere(knex.raw(':entityId = ANY(entities.alias)', { entityId }));
|
||||||
.where('entities.slug', entityId)
|
|
||||||
.orWhere(knex.raw(':entityId = ANY(entities.alias)', { entityId }));
|
|
||||||
});
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue