Added parameter affiliates.
This commit is contained in:
@@ -7,6 +7,12 @@ const affiliates = [
|
||||
url: 'https://join.archangelvideo.com/track/MzQ3LjEuMS4xLjAuMC4wLjAuMA',
|
||||
comment: 'revshare',
|
||||
},
|
||||
{
|
||||
id: 'kink_params',
|
||||
network: 'kink',
|
||||
parameters: 't=eyJhZmZpbGlhdGUiOiJEZWJhdWNoZXJ5TGliIiwiY2FtcGFpZ24iOiJkZWZhdWx0IiwiYWdldmVyaWZpZWQiOiJ5In0',
|
||||
comment: '50%',
|
||||
},
|
||||
];
|
||||
|
||||
const banners = [
|
||||
@@ -465,7 +471,7 @@ const campaigns = [
|
||||
},
|
||||
{
|
||||
network: 'kink',
|
||||
url: 'https://www.kink.com/shoots/latest?t=eyJhZmZpbGlhdGUiOiJEZWJhdWNoZXJ5TGliIiwiY2FtcGFpZ24iOiJkZWZhdWx0IiwiYWdldmVyaWZpZWQiOiJ5In0',
|
||||
affiliate: 'kink_params',
|
||||
comment: '50%',
|
||||
},
|
||||
{
|
||||
@@ -673,6 +679,7 @@ exports.seed = async knex => Promise.resolve()
|
||||
id: affiliate.id,
|
||||
entity_id: networksBySlug[affiliate.network]?.id || channelsBySlug[affiliate.channel]?.id || null,
|
||||
url: affiliate.url,
|
||||
parameters: affiliate.parameters,
|
||||
comment: affiliate.comment,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user