diff --git a/cio/src/shorturls.rs b/cio/src/shorturls.rs index 06093c3e7..1f2d84f43 100644 --- a/cio/src/shorturls.rs +++ b/cio/src/shorturls.rs @@ -254,7 +254,6 @@ pub async fn refresh_shorturls(db: &Database, company: &Company) -> Result<()> { let out_repos = vec![company.shorturl_repo()]; generate_shorturls_for_repos(db, &github, company, &provider, &out_repos[..]).await?; - generate_shorturls_for_rfds(db, &github, company, &provider, &out_repos[..]).await?; generate_shorturls_for_configs_links(db, &github, company, &provider, &out_repos[..]).await?; Ok(()) diff --git a/webhooky/src/handlers_github/rfd.rs b/webhooky/src/handlers_github/rfd.rs index 3da32f186..d654b1045 100644 --- a/webhooky/src/handlers_github/rfd.rs +++ b/webhooky/src/handlers_github/rfd.rs @@ -468,21 +468,7 @@ impl RFDUpdateAction for UpdatePDFs { pub struct GenerateShortUrls; impl GenerateShortUrls { - pub async fn generate(api_context: &Context, github: &octorust::Client) -> Result<()> { - let out_repos = vec![api_context.company.shorturl_repo()]; - - // Create all the shorturls for the RFD if we need to, this would be on added files, only. - generate_shorturls_for_rfds( - &api_context.db, - github, - &api_context.company, - &api_context.company.authenticate_dns_providers().await?, - &out_repos, - ) - .await?; - - info!("[SUCCESS]: updated shorturls for the rfds"); - + pub async fn generate(_api_context: &Context, _github: &octorust::Client) -> Result<()> { Ok(()) } }