changed update to run path

This commit is contained in:
Jonas_Jones 2024-01-28 03:31:10 +01:00
parent c18ab8a8da
commit a851b18875
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ pub use builtin::get_builtin_routes as get_v1_builtin_routes;
pub use debug::get_debug_routes as get_v1_debug_routes;
pub use kcomebacks::get_kcomebacks_routes as get_v1_kcomebacks_routes;
pub use projects::get_project_routes as get_v1_project_routes;
pub use update::get_update_routes as get_v1_updates_routes;
pub use update::get_run_routes as get_v1_updates_routes;
use warp::Filter;

View file

@ -16,8 +16,8 @@ pub struct DiscographyQuery {
artists: String,
}
pub fn get_update_routes() -> impl warp::Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
warp::path("v1").and(warp::path("update"))
pub fn get_run_routes() -> impl warp::Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
warp::path("v1").and(warp::path("run"))
// update/kcomebacks
// update/projects
// update/makediscography?artists=artist1,artist2,artist3