From c9a809505c0b363ef828aeb638ce09053ec9fe7b Mon Sep 17 00:00:00 2001 From: Augustus Mayo Date: Tue, 8 Oct 2024 09:39:42 -0500 Subject: [PATCH] Removing mroe --- cio/src/configs.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cio/src/configs.rs b/cio/src/configs.rs index df2764aa8..7ac630f86 100644 --- a/cio/src/configs.rs +++ b/cio/src/configs.rs @@ -2388,9 +2388,9 @@ pub async fn sync_certificates( } pub async fn refresh_db_configs_and_airtable(db: &Database, company: &Company, config: &AppConfig) -> Result<()> { - let github = company.authenticate_github()?; + // let github = company.authenticate_github()?; - let configs = get_configs_from_repo(&github, company).await?; + // let configs = get_configs_from_repo(&github, company).await?; // // Sync buildings. // // Syncing buildings must happen before we sync resource. @@ -2415,12 +2415,12 @@ pub async fn refresh_db_configs_and_airtable(db: &Database, company: &Company, c // } // Sync links. - let (links, certs, ann) = tokio::join!( + // let (links, certs, ann) = tokio::join!( // sync_links(db, configs.links, configs.huddles, company), // Sync certificates. - sync_certificates(db, &github, configs.certificates, company), + // sync_certificates(db, &github, configs.certificates, company), // refresh_anniversary_events(db, company), - ); + // ); // if let Err(e) = links { // warn!("error syncing links: {}", e);