Skip to content

Commit

Permalink
Update name of "Firefox News" newsletter
Browse files Browse the repository at this point in the history
Though the newsletter is called Firefox News, in CTMS its name is `mozilla-and-you`

Co-authored-by: Chelsey Beck <[email protected]>
  • Loading branch information
grahamalama and chelseybeck authored Sep 25, 2024
1 parent 4ae38ba commit cf4ece1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@


def upgrade():
# Subscribe users to 'firefox-news'
# Subscribe users to 'mozilla-and-you' a/k/a Firefox News
op.execute("""\
INSERT INTO newsletters (email_id, name, subscribed)
SELECT e.email_id, 'firefox-news', TRUE
SELECT e.email_id, 'mozilla-and-you', TRUE
FROM emails e
JOIN newsletters n ON e.email_id = n.email_id
WHERE n.name = 'knowledge-is-power'
Expand Down

0 comments on commit cf4ece1

Please sign in to comment.