diff options
| author | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-17 02:12:20 -0700 |
| commit | 0bc4ac8ba3a16aed491c3260d51406685cde2408 (patch) | |
| tree | 164df292848c8ba9197ffb1607a7fa1ddcad37ed /src/modules/api | |
| parent | chore(tasks): simplify formatter (diff) | |
| download | locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.tar.xz locus-0bc4ac8ba3a16aed491c3260d51406685cde2408.zip | |
deps(windmark): bump to 0.3.9
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 e66f91d..6125e59 100644 --- a/src/modules/api/sydney.rs +++ b/src/modules/api/sydney.rs @@ -21,7 +21,7 @@ mod tags; use tags::Tags; -pub fn module(router: &mut windmark::Router) { +pub fn module(router: &mut windmark::router::Router) { crate::route::track_mount( router, "/api/sydney/version", @@ -54,7 +54,7 @@ pub fn module(router: &mut windmark::Router) { crate::route::cache(&context, &content); - windmark::Response::success(content) + windmark::response::Response::success(content) .with_mime("text/plain") .clone() } |