Skip to main content

get_language

Function get_language 

Source
pub async fn get_language(
    conn: &mut PgConnection,
    email_template_id: Uuid,
) -> ModelResult<Option<String>>
Expand description

The language a template’s mails are rendered in: its own, else its course’s. None for a global template without one.