Compare commits

..

No commits in common. "8f81f718024bfe7b1228cc09817400cb20dcc495" and "ec33a8b5a99c40048d0fea97136ebe8005e4ad73" have entirely different histories.

3 changed files with 5 additions and 19 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -74,9 +74,8 @@ const studios = [
showcased: true,
},
{
name: 'Natasha Teen Films',
slug: 'natashateenfilms',
rename: 'natashateenproductions',
name: 'Natasha Teen Productions',
slug: 'natashateenproductions',
url: 'https://www.analvids.com/studios/natasha-teen-productions',
parent: 'analvids',
alias: [
@ -5239,19 +5238,6 @@ const studios = [
/* eslint-disable max-len */
exports.seed = (knex) => Promise.resolve()
.then(async () => {
await Promise.all(studios.map(async (studio) => {
if (studio.rename) {
return knex('entities')
.where({
type: studio.type || 'studio',
slug: studio.rename,
})
.update('slug', studio.slug);
}
return null;
}).filter(Boolean));
const networks = await knex('entities')
.whereIn('type', ['network', 'channel'])
.whereIn('slug', studios.map((studio) => studio.parent));