mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
chore: remove fluent crate override
This commit is contained in:
@ -9,7 +9,7 @@ async fn hello() -> &'static str {
|
||||
|
||||
#[post("/stop/{graceful}")]
|
||||
async fn stop(Path(graceful): Path<bool>, stop_handle: web::Data<StopHandle>) -> HttpResponse {
|
||||
let _ = stop_handle.stop(graceful);
|
||||
stop_handle.stop(graceful);
|
||||
HttpResponse::NoContent().finish()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user