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/uptime.rs | |
| 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/uptime.rs')
| -rw-r--r-- | src/modules/uptime.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uptime.rs b/src/modules/uptime.rs index 365c234..64e1804 100644 --- a/src/modules/uptime.rs +++ b/src/modules/uptime.rs @@ -22,7 +22,7 @@ use tokio::time::Instant; static UPTIME: LazyLock<Instant> = LazyLock::new(Instant::now); -pub fn module(router: &mut windmark::Router) { +pub fn module(router: &mut windmark::router::Router) { UPTIME.elapsed(); crate::route::track_mount( @@ -49,7 +49,7 @@ pub fn module(router: &mut windmark::Router) { crate::route::cache(&context, &response); - windmark::Response::success(response) + windmark::response::Response::success(response) }, ); } |