Skip to content

Commit

Permalink
chore: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Jan 3, 2023
1 parent fa4a2a5 commit 9bf437b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use warp::Filter;

pub fn create_routes(
o: Option<Pool<Postgres>>,
) -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
) -> impl Filter<Extract = (impl warp::Reply,), Error = warp::Rejection> + Clone {
version::get::get_version()
.or(check_email::post::post_check_email())
// The 3 following routes will 404 if o is None.
Expand Down

0 comments on commit 9bf437b

Please sign in to comment.