pub async fn find_active_by_id<'e, E>(
ex: E,
invite_id: i64,
email: &str,
) -> Result<Option<ActiveInvite>, Error>where
E: Executor<'e, Database = Sqlite>,Expand description
The invite invite_id, when it is active (unaccepted, unexpired) and
addressed to email. Validates a session-carried pending invite.