From 7ff3502cc1904070f0be4de7c52bd2e760f3e8f6 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Wed, 18 Jun 2025 19:36:35 -0400 Subject: [PATCH] Function name change --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 572dd37..35e4727 100644 --- a/src/main.rs +++ b/src/main.rs @@ -327,7 +327,7 @@ mod tests { app: &axum::Router, id: &uuid::Uuid, ) -> Result { - let payload = payload_data(&id).await; + let payload = queue_metadata_payload_data(&id).await; let req = axum::http::Request::builder() .method(axum::http::Method::POST) @@ -600,7 +600,7 @@ mod tests { serde_json::from_slice(&body).unwrap() } - pub async fn payload_data(id: &uuid::Uuid) -> serde_json::Value { + pub async fn queue_metadata_payload_data(id: &uuid::Uuid) -> serde_json::Value { serde_json::json!( { "id": id,