Removed affiliate table in favor of direct campaign URLs.

This commit is contained in:
DebaucheryLibrarian
2021-06-28 02:50:06 +02:00
parent afbae24f43
commit 385dfb9f75
17 changed files with 317 additions and 176 deletions

View File

@@ -98,26 +98,32 @@ const actorFields = `
const campaignsFragment = `
campaigns(filter: {
banner: {
bannersTagsConnection: {
none: {
tag: {
slug: {
in: $exclude
or: [
{
banner: {
bannersTagsConnection: {
none: {
tag: {
slug: {
in: $exclude
}
}
}
}
}
}
}
{
bannerExists: false
}
]
}) {
affiliate {
id
url
}
id
url
banner {
id
width
height
ratio
entity {
id
type