implement secret creating and deleting

This commit is contained in:
beckerinj
2022-12-02 02:40:44 -05:00
parent 4e518d90ad
commit 00a89ccb48
9 changed files with 185 additions and 20 deletions

View File

@@ -49,8 +49,6 @@ pub struct User {
#[derive(Serialize, Deserialize, Debug, Clone, Default)]
pub struct ApiSecret {
#[serde(rename = "_id", skip_serializing_if = "Option::is_none")]
pub id: Option<ObjectId>,
pub name: String,
pub hash: String,
pub created_at: i64,