From c8d9ff2cfee2b46dc5294a5b904781be30ac9ba2 Mon Sep 17 00:00:00 2001 From: David Estes <5317198+dav1do@users.noreply.github.com> Date: Fri, 9 Feb 2024 18:34:38 -0700 Subject: [PATCH] chore: update to use new create event payload (#147) --- runner/src/scenario/ceramic/recon_sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/src/scenario/ceramic/recon_sync.rs b/runner/src/scenario/ceramic/recon_sync.rs index ce359bc5..18d46dc9 100644 --- a/runner/src/scenario/ceramic/recon_sync.rs +++ b/runner/src/scenario/ceramic/recon_sync.rs @@ -149,9 +149,9 @@ async fn create_new_event(user: &mut GooseUser) -> TransactionResult { let event_id = format!("F{}", random_event_id(&user_data.model_id.to_string())); let event_key_body = if user_data.with_data { let payload = random_car_1kb_body().await; - serde_json::json!({"eventId": event_id, "eventData": payload}) + serde_json::json!({"id": event_id, "data": payload}) } else { - serde_json::json!({"eventId": event_id}) + serde_json::json!({"id": event_id}) }; let cnt = NEW_EVENT_CNT.fetch_add(1, std::sync::atomic::Ordering::Relaxed);