Skip to content

Commit

Permalink
chore: update to use new create event payload (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1do authored Feb 10, 2024
1 parent 63cf772 commit c8d9ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner/src/scenario/ceramic/recon_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c8d9ff2

Please sign in to comment.