From 0c8838b6bb87ec2b8ea10fff4e3b89e22888e069 Mon Sep 17 00:00:00 2001 From: Augustus Mayo Date: Tue, 24 Sep 2024 18:29:22 -0500 Subject: [PATCH] Disable entire ensure call --- cio/src/configs.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/cio/src/configs.rs b/cio/src/configs.rs index 1c13f9de4..a61c9dade 100644 --- a/cio/src/configs.rs +++ b/cio/src/configs.rs @@ -547,18 +547,18 @@ impl UserConfig { } } - // Add the user to their GitHub teams and the org. - if !new_user.github.is_empty() { - // Add them to the org and any teams they need to be added to. - // We don't return an id here. - match github.ensure_user(db, company, &new_user, config).await { - Ok(id) => Ok(id), - Err(err) => { - warn!("Failed to ensure GitHub user `{}`: {}", new_user.id, err); - Err(err) - } - }?; - } + // // Add the user to their GitHub teams and the org. + // if !new_user.github.is_empty() { + // // Add them to the org and any teams they need to be added to. + // // We don't return an id here. + // match github.ensure_user(db, company, &new_user, config).await { + // Ok(id) => Ok(id), + // Err(err) => { + // warn!("Failed to ensure GitHub user `{}`: {}", new_user.id, err); + // Err(err) + // } + // }?; + // } match ramp.ensure_user(db, company, &new_user, config).await { Ok(ramp_id) => {