aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-server/src/router.rs
diff options
context:
space:
mode:
authorRay Kohler <ataraxia937@ataraxia937.xyz>2025-08-11 17:53:31 -0400
committerEllie Huxtable <ellie@elliehuxtable.com>2025-09-10 12:57:43 -0700
commit23b9e8a68c41885f73418cd93ebb84b78011f10f (patch)
treed6ce0871e399763ab2470921c906d2f3249a7b44 /crates/atuin-server/src/router.rs
parentfix: clean up new rustc and clippy warnings on Rust 1.89 (diff)
downloadatuin-23b9e8a68c41885f73418cd93ebb84b78011f10f.zip
fix: `cargo update` and changes needed to accomodate it
Diffstat (limited to 'crates/atuin-server/src/router.rs')
-rw-r--r--crates/atuin-server/src/router.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin-server/src/router.rs b/crates/atuin-server/src/router.rs
index 6d168f63..1118ab29 100644
--- a/crates/atuin-server/src/router.rs
+++ b/crates/atuin-server/src/router.rs
@@ -123,8 +123,8 @@ pub fn router<DB: Database>(database: DB, settings: Settings) -> Router {
.route("/account/password", patch(handlers::user::change_password))
.route("/register", post(handlers::user::register))
.route("/login", post(handlers::user::login))
- .route("/record", post(handlers::record::post::<DB>))
- .route("/record", get(handlers::record::index::<DB>))
+ .route("/record", post(handlers::record::post))
+ .route("/record", get(handlers::record::index))
.route("/record/next", get(handlers::record::next))
.route("/api/v0/me", get(handlers::v0::me::get))
.route("/api/v0/account/verify", post(handlers::user::verify_user))