Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Removing mroe
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Oct 8, 2024
1 parent 2986bcb commit c9a8095
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cio/src/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);
Expand Down

0 comments on commit c9a8095

Please sign in to comment.