From ad96e2938d955d5b454519bc4c27849298aea561 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 21 Sep 2024 17:16:24 +0200 Subject: [PATCH] fix --- src/db.rs | 2 +- src/location.rs | 2 -- src/main.rs | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/db.rs b/src/db.rs index dbc2878..0bcc07a 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1,4 +1,4 @@ -use mongod::{Model, Referencable}; +use mongod::Model; use crate::item::Item; diff --git a/src/location.rs b/src/location.rs index 3c0c2bd..ef5ab46 100644 --- a/src/location.rs +++ b/src/location.rs @@ -1,5 +1,3 @@ -use std::{future::Future, pin::Pin}; - use futures::FutureExt; use mongod::{ derive::{Model, Referencable}, diff --git a/src/main.rs b/src/main.rs index 924c31a..ef8bbc3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,8 @@ async fn rocket() -> _ { routes::flow::create_flow_route, routes::item::move_transaction_route, routes::item::variant_price_latest_by_origin, - routes::item::item_stat_route + routes::item::item_stat_route, + routes::flow::active_flows_route ], ) .manage(itemdb)