From 039acf58ac5a4b16fdb896634affb637b1bdeaad Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 Apr 2023 00:02:11 -0700 Subject: deps(windmark): bump 0.2.5 -> 0.3.1 --- src/modules/api/sydney.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/api') diff --git a/src/modules/api/sydney.rs b/src/modules/api/sydney.rs index 1adc07d..20f8faa 100644 --- a/src/modules/api/sydney.rs +++ b/src/modules/api/sydney.rs @@ -26,7 +26,7 @@ pub fn module(router: &mut windmark::Router) { router, "/api/sydney/version", "Sydney's version", - Box::new(move |context| { + move |context| { let mut content = "0.0.0".to_string(); if let Ok(response) = reqwest::blocking::Client::new() @@ -55,6 +55,6 @@ pub fn module(router: &mut windmark::Router) { windmark::Response::success(content) .with_mime("text/plain") .clone() - }), + }, ); } -- cgit v1.2.3