Revert "just use Ulid instead of RpcSecretKey type"

It did work

This reverts commit 377e8356a5.
This commit is contained in:
Bryan Stitt 2023-06-23 01:29:11 -07:00
parent 377e8356a5
commit 3fac4248d6

View File

@ -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<String>,
private_txs: bool,
active: bool,