use crate::{core::Core, handlers::handle_playing_field}; use warp::{reply::Json, Filter}; pub fn route_playing_field( _app: Core, ) -> impl Filter + Clone { warp::path!("api" / "v1" / "field").map(move || warp::reply::json(&handle_playing_field())) }