Skip to main content

lookup_installation_id

Function lookup_installation_id 

Source
pub async fn lookup_installation_id(
    creds: &AppCredentials,
    owner: &str,
) -> Result<Option<u64>>
Expand description

List all installations of the app and return the installation ID for the given owner (org or user). Returns Ok(None) if the app isn’t installed on that owner yet — caller can prompt for an install click.