Slight naming alignment.

This commit is contained in:
2026-09-27 10:27:06 +02:00
parent 4e1eea5849
commit bb58e3fd77
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ use crate::{
pub fn create_router() -> axum::Router<PgPool> {
axum::Router::new()
.route("/", axum::routing::get(query_scheduled_transactions))
.route("/", axum::routing::get(list_scheduled_transactions))
.route(
"/{id}",
axum::routing::get(get_scheduled_transaction)
@@ -49,7 +49,7 @@ impl TryFrom<QueryParams> for repository::Query {
#[axum::debug_handler]
#[tracing::instrument(skip(pool))]
async fn query_scheduled_transactions(
async fn list_scheduled_transactions(
State(pool): State<PgPool>,
Query(query): Query<QueryParams>,
) -> Result<Json<Vec<ScheduledTransactionResponse>>, AppError> {