first commit
This commit is contained in:
7
app/email/repository.py
Normal file
7
app/email/repository.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from sqlalchemy.ext.asyncio import AsyncSession
|
||||
|
||||
from app.email.models import EmailLog
|
||||
|
||||
|
||||
async def create_email_log(db: AsyncSession, *, recipient: str, subject: str, body: str) -> None:
|
||||
db.add(EmailLog(recipient=recipient, subject=subject, body=body))
|
||||
Reference in New Issue
Block a user