aboutsummaryrefslogtreecommitdiff
path: root/src/routers/account.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routers/account.rs')
-rw-r--r--src/routers/account.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/routers/account.rs b/src/routers/account.rs
index 3159db6..51ce911 100644
--- a/src/routers/account.rs
+++ b/src/routers/account.rs
@@ -29,6 +29,7 @@ async fn username_exists(username: &str, db: &DatabaseConnection) -> Result<bool
29#[derive(Serialize, ToSchema)] 29#[derive(Serialize, ToSchema)]
30#[schema(description = "Authorization token information")] 30#[schema(description = "Authorization token information")]
31struct Token { 31struct Token {
32 #[schema(examples("eyJ0eXAiO..."))]
32 token: String, 33 token: String,
33 expired_at: DateTime<Utc>, 34 expired_at: DateTime<Utc>,
34} 35}