Small fix

This commit is contained in:
Marko Korhonen 2020-03-30 14:48:13 +03:00
parent 91e693d53a
commit 7a95f9f17f
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -49,7 +49,7 @@ async fn main() -> std::io::Result<()> {
App::new()
.data(pool.clone())
.wrap(middleware::Logger::default())
.service(add_user(pool, form))
.service(add_user)
})
.bind(&bind)?
.run()