Compare commits
2 Commits
272a57de58
...
aa1a5bd95d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa1a5bd95d | ||
|
|
5515c969de |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.247.5",
|
||||
"version": "1.247.6",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "traxxx",
|
||||
"version": "1.247.5",
|
||||
"version": "1.247.6",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.458.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.247.5",
|
||||
"version": "1.247.6",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -88,7 +88,13 @@ async function curateData(data) {
|
||||
.select('releases.*')
|
||||
.leftJoin('entities', 'entities.id', 'releases.entity_id')
|
||||
.leftJoin('entities as parents', 'parents.id', 'entities.parent_id')
|
||||
.where('entities.slug', 'hardx')
|
||||
.modify((builder) => {
|
||||
if (args.channel.charAt(0) === '_') {
|
||||
builder.where('parents.slug', args.entity.slice(1));
|
||||
} else {
|
||||
builder.where('entities.slug', args.entity);
|
||||
}
|
||||
})
|
||||
.whereIn('entry_id', stashScenes.map((scene) => scene.entryId || scene.urlId));
|
||||
|
||||
console.log(`Matched ${sceneEntries.length} scenes`);
|
||||
@@ -132,7 +138,7 @@ async function init() {
|
||||
query,
|
||||
variables: {
|
||||
limit: 1000,
|
||||
studioId: '8c7ad24a-4756-4163-b328-28e8391602cd',
|
||||
studioId: args.studioId,
|
||||
page: 1,
|
||||
},
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user