Skip to content

Commit

Permalink
Opt out issue: data & scripts for marking opted-out channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Lezek123 committed Dec 2, 2024
1 parent 8ac5cbe commit 317a564
Show file tree
Hide file tree
Showing 8 changed files with 89,510 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ypp-operations/scripts/markOptedOutChannelsDynamoDb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { markOptedOutChannels } from '../src/dynamodb'
import { OptedOutContactData } from '../src/types'
import optedOutContacts from './opted_out_contacts.json'

markOptedOutChannels(optedOutContacts as OptedOutContactData[])
5 changes: 5 additions & 0 deletions ypp-operations/scripts/markOptedOutContactsHubspot.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { markOptedOutContacts } from '../src/recheckVideoState'
import { OptedOutContactData } from '../src/types'
import optedOutContacts from './opted_out_contacts.json'

markOptedOutContacts(optedOutContacts as OptedOutContactData[])
Loading

0 comments on commit 317a564

Please sign in to comment.