Added get scheduled transaction.

This commit is contained in:
2026-09-25 15:41:40 +02:00
parent 251f6ac3f4
commit adf6888cc7
3 changed files with 31 additions and 4 deletions
+2
View File
@@ -17,6 +17,7 @@ pub fn create_router() -> axum::Router<PgPool> {
.route("/{id}", axum::routing::delete(delete_transaction))
}
#[axum::debug_handler]
#[tracing::instrument(skip(pool))]
async fn get_transactions(
State(pool): State<PgPool>,
@@ -40,6 +41,7 @@ async fn get_transactions(
Ok(Json(transactions))
}
#[axum::debug_handler]
#[tracing::instrument(skip(pool))]
async fn delete_transaction(
Path(id): Path<Uuid>,