Skip to content

Commit

Permalink
just use Ulid instead of RpcSecretKey type
Browse files Browse the repository at this point in the history
  • Loading branch information
BlinkyStitt committed Jun 23, 2023
1 parent 68ab9b6 commit 377e835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web3_proxy/src/frontend/users/rpc_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ 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.
Expand All @@ -41,7 +42,7 @@ pub async fn rpc_keys_get(
struct ReturnType<'a> {
id: u64,
user_id: u64,
secret_key: RpcSecretKey,
secret_key: Ulid,
description: Option<String>,
private_txs: bool,
active: bool,
Expand Down

0 comments on commit 377e835

Please sign in to comment.