From bb906d8ecc796f6b71dda1851d6bd0aa91c6bce5 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 25 Nov 2023 08:59:39 +0100 Subject: Upgrade dependencies --- src/controller/statistics.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/controller/statistics.rs') diff --git a/src/controller/statistics.rs b/src/controller/statistics.rs index 38a5787..eb1e704 100644 --- a/src/controller/statistics.rs +++ b/src/controller/statistics.rs @@ -1,4 +1,6 @@ -use hyper::{Body, Response}; +use http_body_util::Full; +use hyper::body::Bytes; +use hyper::Response; use tera::Context; use crate::controller::utils; @@ -6,7 +8,7 @@ use crate::controller::wallet::Wallet; use crate::db; use crate::templates; -pub async fn get(wallet: &Wallet) -> Response
{ +pub async fn get(wallet: &Wallet) -> Response