Fixed Arch Angel placeholder thumbnail.

This commit is contained in:
DebaucheryLibrarian
2023-07-03 00:50:47 +02:00
parent 05788c2ed6
commit 916deff487
3 changed files with 20 additions and 3 deletions

View File

@@ -261,6 +261,12 @@ const campaigns = [
affiliate: 'bang_signup',
comment: 'per signup',
},
// brazzers
{
network: 'brazzers',
banner: 'brazzers_728_90',
comment: 'per signup',
},
// dfxtra / dogfart
{
network: 'dfxtra',
@@ -693,6 +699,8 @@ exports.seed = async (knex) => Promise.resolve()
}));
}
console.log(file);
return {
id: path.parse(file).name,
network,
@@ -769,6 +777,7 @@ exports.seed = async (knex) => Promise.resolve()
url: campaign.url,
affiliate_id: campaign.affiliate,
banner_id: campaign.banner,
html: campaign.html,
})).filter((link) => link.entity_id && (link.url || link.affiliate_id));
await knex('affiliates').insert(affiliatesWithEntityId);