summaryrefslogtreecommitdiff
path: root/src/channel/routes/post.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel/routes/post.rs')
-rw-r--r--src/channel/routes/post.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channel/routes/post.rs b/src/channel/routes/post.rs
index a05c312..9781dd7 100644
--- a/src/channel/routes/post.rs
+++ b/src/channel/routes/post.rs
@@ -10,6 +10,7 @@ use crate::{
clock::RequestedAt,
error::Internal,
login::Login,
+ name::Name,
};
pub async fn handler(
@@ -29,7 +30,7 @@ pub async fn handler(
#[derive(serde::Deserialize)]
pub struct Request {
- pub name: String,
+ pub name: Name,
}
#[derive(Debug)]