From 3fac4248d656832364d9eaf351359398f7eab1c9 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 23 Jun 2023 01:29:11 -0700 Subject: [PATCH] Revert "just use Ulid instead of RpcSecretKey type" It did work This reverts commit 377e8356a57d80dd17b746dd05a62b475d9e7d07. --- web3_proxy/src/frontend/users/rpc_keys.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web3_proxy/src/frontend/users/rpc_keys.rs b/web3_proxy/src/frontend/users/rpc_keys.rs index c5a6f177..1dc45b2c 100644 --- a/web3_proxy/src/frontend/users/rpc_keys.rs +++ b/web3_proxy/src/frontend/users/rpc_keys.rs @@ -21,7 +21,6 @@ use migration::sea_orm::{ }; use serde::{Deserialize, Serialize}; use serde_json::json; -use ulid::Ulid; use std::sync::Arc; /// `GET /user/keys` -- Use a bearer token to get the user's api keys and their settings. @@ -42,7 +41,7 @@ pub async fn rpc_keys_get( struct ReturnType<'a> { id: u64, user_id: u64, - secret_key: Ulid, + secret_key: RpcSecretKey, description: Option, private_txs: bool, active: bool,