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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel/routes/post.rs b/src/channel/routes/post.rs
index 9781dd7..810445c 100644
--- a/src/channel/routes/post.rs
+++ b/src/channel/routes/post.rs
@@ -9,13 +9,13 @@ use crate::{
channel::{app, Channel},
clock::RequestedAt,
error::Internal,
- login::Login,
name::Name,
+ token::extract::Identity,
};
pub async fn handler(
State(app): State<App>,
- _: Login, // requires auth, but doesn't actually care who you are
+ _: Identity, // requires auth, but doesn't actually care who you are
RequestedAt(created_at): RequestedAt,
Json(request): Json<Request>,
) -> Result<Response, Error> {