add latest price route

This commit is contained in:
JMARyA 2024-09-16 08:10:26 +02:00
parent 0d4ed15460
commit 9c03d38f6e
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 31 additions and 4 deletions

View file

@ -62,6 +62,8 @@ async fn rocket() -> _ {
let config = config::get_config();
// todo : log warnings on misconfiguration
rocket::build()
.mount(
"/",
@ -90,7 +92,8 @@ async fn rocket() -> _ {
routes::flow::end_flow_route,
routes::flow::continue_flow_route,
routes::flow::create_flow_route,
routes::item::move_transaction_route
routes::item::move_transaction_route,
routes::item::variant_price_latest_by_origin
],
)
.manage(itemdb)