From e2efd6fe66173f8dcffb65b458931180afddf2be Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sat, 17 Jun 2023 13:19:27 -0400 Subject: [PATCH] Fix typo --- server/src/api/ticks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/api/ticks.rs b/server/src/api/ticks.rs index 6249f30..4b746e5 100644 --- a/server/src/api/ticks.rs +++ b/server/src/api/ticks.rs @@ -60,7 +60,7 @@ pub(super) async fn update_tick( #[delete("/")] pub(super) async fn delete_tick(db: &State, id: i32) -> ApiResult { - Tracks::delete_by_id(id) + Ticks::delete_by_id(id) .exec(db as &DatabaseConnection) .await .map_err(Error::from)?;