fix url config

This commit is contained in:
pengtao 2021-06-22 15:49:20 +08:00
parent 842c792e6f
commit a0644d2598

View File

@ -27,7 +27,7 @@ MAIL_CONF = ConnectionConfig(
)
@router.post("/common/email")
@router.post("/email")
async def simple_send(email: EmailSchema) -> JSONResponse:
message = MessageSchema(
subject=email.dict().get("subject"),