From cc9ff7635cb946e6a586200894a43f2eca08b75b Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 13 May 2021 15:51:44 +0200 Subject: [PATCH] Fixed faulty import line --- .woodpecker.yml | 2 +- src/server/routes/ivago.rs | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f670957..ce2db84 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -83,7 +83,7 @@ pipeline: root: build-cache/ flush: true # Delete cache older than 30 days (might lower this) - flush_age: 30 + flush_age: 14 secrets: [ cache_s3_access_key, cache_s3_secret_key ] # Push the cache, even on failure diff --git a/src/server/routes/ivago.rs b/src/server/routes/ivago.rs index af025fe..5f5c5fc 100644 --- a/src/server/routes/ivago.rs +++ b/src/server/routes/ivago.rs @@ -1,8 +1,5 @@ use crate::FejDbConn; -use fej::{ - db::search_streets, - ivago::{get_pickup_times, BasicDate, PickupTime, Street}, -}; +use fej::ivago::{db::search_streets, get_pickup_times, BasicDate, PickupTime, Street}; use rocket::http::Status; use rocket_contrib::json::Json;