From e2eb288fa8f6d54dd92867b81086c3b7879552cd Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 13 Feb 2022 11:36:19 -0500 Subject: [PATCH] no more badge --- .../endpoints/users/create_account.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/service/storyteller_web/src/http_server/endpoints/users/create_account.rs b/crates/service/storyteller_web/src/http_server/endpoints/users/create_account.rs index c0da636405..a14e9f9cfe 100644 --- a/crates/service/storyteller_web/src/http_server/endpoints/users/create_account.rs +++ b/crates/service/storyteller_web/src/http_server/endpoints/users/create_account.rs @@ -237,14 +237,14 @@ VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) info!("new user id: {}", record_id); - // TODO: Remove me in the future. Too lazy to check the date, plus this will - // vary with adoption rate. - server_state.badge_granter.grant_early_user_badge(&user_token) - .await - .map_err(|e| { - warn!("error creating badge: {:?}", e); - CreateAccountErrorResponse::server_error() - })?; + //// TODO: Remove me in the future. Too lazy to check the date, plus this will + //// vary with adoption rate. + //server_state.badge_granter.grant_early_user_badge(&user_token) + // .await + // .map_err(|e| { + // warn!("error creating badge: {:?}", e); + // CreateAccountErrorResponse::server_error() + // })?; let create_session_result = create_session_for_user(&user_token, &ip_address, &server_state.mysql_pool).await;