just use Ulid instead of RpcSecretKey type

This commit is contained in:
Bryan Stitt 2023-06-23 01:28:47 -07:00
parent 68ab9b6d1d
commit 377e8356a5

View File

@ -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.
@ -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,