From 27a318c70edbe3134ced3b359c9008c08225a19f Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 19 Dec 2022 10:57:30 -0800 Subject: [PATCH] default description to None. frontend shows a cute llama --- web3_proxy/src/frontend/users.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web3_proxy/src/frontend/users.rs b/web3_proxy/src/frontend/users.rs index e9f1e7dc..aa2c4865 100644 --- a/web3_proxy/src/frontend/users.rs +++ b/web3_proxy/src/frontend/users.rs @@ -304,14 +304,12 @@ pub async fn user_login_post( let u = u.insert(&txn).await?; // create the user's first api key - // TODO: rename to UserApiKey? RpcApiKey? let rpc_secret_key = RpcSecretKey::new(); - // TODO: variable requests per minute depending on the invite code let uk = rpc_key::ActiveModel { user_id: sea_orm::Set(u.id), secret_key: sea_orm::Set(rpc_secret_key.into()), - description: sea_orm::Set(Some("first".to_string())), + description: sea_orm::Set(None), ..Default::default() };