Compare commits
No commits in common. "91746c73e16cfdd2ffbf8c1eb015c6f733614777" and "4fd262dc6001f4a2a3d9c7deb91cea10f63cca96" have entirely different histories.
91746c73e1
...
4fd262dc60
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.151.1",
|
||||
"version": "1.151.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.151.1",
|
||||
"version": "1.151.0",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -960,11 +960,7 @@ async function flushProfiles(actorIdsOrNames) {
|
|||
async function flushActors(actorIdsOrNames) {
|
||||
const actors = await knex('actors')
|
||||
.whereIn('id', actorIdsOrNames.filter(idOrName => typeof idOrName === 'number'))
|
||||
.orWhere((builder) => {
|
||||
builder
|
||||
.whereIn('name', actorIdsOrNames.filter(idOrName => typeof idOrName === 'string'))
|
||||
.whereNull('entity_id');
|
||||
});
|
||||
.orWhereIn('name', actorIdsOrNames.filter(idOrName => typeof idOrName === 'string'));
|
||||
|
||||
const actorIds = actors.map(actor => actor.id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue