Compare commits

..

No commits in common. "85942c5d00e8f14c32743f6907ddc22c5c367481" and "67365507b5bdffb36daa755cded60f6c53aa2763" have entirely different histories.

3 changed files with 26 additions and 34 deletions

View File

@ -14,7 +14,7 @@ function initEntitiesActions(store, router) {
}) {
const { before, after, orderBy } = getDateRange(range);
const { entity, connection, batches: [lastBatch] } = await graphql(`
const { entity, batches: [lastBatch] } = await graphql(`
query Entity(
$entitySlug: String!
$entityType: String! = "channel"
@ -84,20 +84,11 @@ function initEntitiesActions(store, router) {
hasLogo
${campaignsFragment}
}
}
connection: releasesConnection(
connection: scenesConnection(
first: $limit
offset: $offset
orderBy: $orderBy
filter: {
entity: {
slug: {
equalTo: $entitySlug
}
type: {
equalTo: $entityType
}
}
effectiveDate: {
lessThan: $before,
greaterThan: $after
@ -118,6 +109,7 @@ function initEntitiesActions(store, router) {
}
totalCount
}
}
${batchFragment}
}
`, {
@ -139,8 +131,8 @@ function initEntitiesActions(store, router) {
}
return {
entity: curateEntity(entity, null, connection.releases, { lastBatch: lastBatch.id }),
totalCount: connection.totalCount,
entity: curateEntity(entity, null, entity.connection.releases, { lastBatch: lastBatch.id }),
totalCount: entity.connection.totalCount,
};
}

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.227.18",
"version": "1.227.17",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.227.18",
"version": "1.227.17",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.227.18",
"version": "1.227.17",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {