diff options
| author | Fuwn <[email protected]> | 2023-04-06 00:02:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-06 00:02:11 -0700 |
| commit | 039acf58ac5a4b16fdb896634affb637b1bdeaad (patch) | |
| tree | 46caa813e140c5baae75a48268f6a997a5e9951c /src/modules/api | |
| parent | fix(docker): copy syntax warning (diff) | |
| download | locus-039acf58ac5a4b16fdb896634affb637b1bdeaad.tar.xz locus-039acf58ac5a4b16fdb896634affb637b1bdeaad.zip | |
deps(windmark): bump 0.2.5 -> 0.3.1
Diffstat (limited to 'src/modules/api')
| -rw-r--r-- | src/modules/api/sydney.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() - }), + }, ); } |