more dumbness
All checks were successful
Build and Deploy Backend / build_and_deploy (push) Successful in 20s
All checks were successful
Build and Deploy Backend / build_and_deploy (push) Successful in 20s
This commit is contained in:
parent
f3da08619e
commit
47a71ff40b
1 changed files with 4 additions and 4 deletions
|
|
@ -30,10 +30,10 @@ def approve_newsletter(secret: str = Form(), session: Session = Depends(get_sess
|
|||
article = find_article_by_title(title)
|
||||
if article is not None:
|
||||
article_data = {
|
||||
title: article["title"],
|
||||
title: article["subtitle"],
|
||||
title: article["summary"],
|
||||
title: article["link"],
|
||||
"title": article["title"],
|
||||
"subtitle": article["subtitle"],
|
||||
"description": article["summary"],
|
||||
"link": article["link"],
|
||||
}
|
||||
subscribed_users = session.exec(select(User).where(User.subscription == True))
|
||||
mails: list[BatchEmailRequest] = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue