Reorganizing metadata queue code #144

Merged
kdeng00 merged 4 commits from endpoint-metadata_queue_req_id_change into v0.2 2025-06-18 19:47:41 -04:00
Showing only changes of commit 7ff3502cc1 - Show all commits
+2 -2
View File
@@ -327,7 +327,7 @@ mod tests {
app: &axum::Router,
id: &uuid::Uuid,
) -> Result<axum::response::Response, std::convert::Infallible> {
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,