Compare commits
No commits in common. "ef852f0191171d8be5dec1ad954b0d2621f5996c" and "47238b2969a77fa3412c13747b820dbd26b324f6" have entirely different histories.
ef852f0191
...
47238b2969
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.137.6",
|
||||
"version": "1.137.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.137.6",
|
||||
"version": "1.137.5",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -141,11 +141,8 @@ async function fetchEntity(entityId, type) {
|
|||
if (type) {
|
||||
queryBuilder
|
||||
.where('entities.type', type)
|
||||
.where((whereBuilder) => {
|
||||
whereBuilder
|
||||
.where('entities.slug', entityId)
|
||||
.orWhere(knex.raw(':entityId = ANY(entities.alias)', { entityId }));
|
||||
});
|
||||
.where('entities.slug', entityId)
|
||||
.orWhere(knex.raw(':entityId = ANY(entities.alias)', { entityId }));
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue