Fix typo
This commit is contained in:
parent
bdb09b33c6
commit
e2efd6fe66
|
@ -60,7 +60,7 @@ pub(super) async fn update_tick(
|
|||
|
||||
#[delete("/<id>")]
|
||||
pub(super) async fn delete_tick(db: &State<DatabaseConnection>, id: i32) -> ApiResult<Status> {
|
||||
Tracks::delete_by_id(id)
|
||||
Ticks::delete_by_id(id)
|
||||
.exec(db as &DatabaseConnection)
|
||||
.await
|
||||
.map_err(Error::from)?;
|
||||
|
|
Loading…
Reference in a new issue