Skip to main content

find_active_any

Function find_active_any 

Source
pub async fn find_active_any<'e, E>(
    ex: E,
    email: &str,
) -> Result<Option<ActiveInvite>, Error>
where E: Executor<'e, Database = Sqlite>,
Expand description

The most recent active (unaccepted, unexpired) invite for email across all leagues. Resolves which league a non-admin creates their team in.