no more badge

This commit is contained in:
Brandon Thomas committed 2022-02-13 11:36:19 -05:00
1 parent 2a885c7758
commit e2eb288fa8
1 file changed
+8 -8
@@ -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;