wip: JWTAuthenticated

TODO: move into api/

fix: test

chore: move JWTAuthenticated into extract

chore: fmt
This commit is contained in:
2023-03-10 12:15:48 +01:00
parent dffbcceeba
commit f47c57c1c0
4 changed files with 115 additions and 28 deletions

View File

@@ -1,5 +1,3 @@
use axum_extra::routing::TypedPath;
use serde::{Deserialize, Serialize};
@@ -23,7 +21,7 @@ pub struct GetCertsPubkey {
#[derive(Debug, Serialize, Deserialize, Default)]
pub struct CertIds {
pub ids: Vec<String>
pub ids: Vec<String>,
}
#[derive(TypedPath, Deserialize)]