Beispiel #1
0
def send_registration_email(email_to: EmailStr, ):
    """
    Test emails.
    """
    link = generate_farm_registration_link()
    send_farm_registration_email(email_to=email_to, link=link)
    return {"msg": "Registration email sent to: " + email_to}
Beispiel #2
0
def farm_registration_link():
    link = generate_farm_registration_link()
    return link