pub async fn find_invitation<Repo: Repository>( repo: &Repo, tenant: &TenantId, code: &str, ) -> Result<Option<User>, OperationOutcomeError>
The user an unexpired invitation code is for.
code