mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-22 16:59:17 +02:00
changed update to run path
This commit is contained in:
parent
c18ab8a8da
commit
a851b18875
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue