diff --git a/src-tauri/src/events.rs b/src-tauri/src/events.rs index 9eda258b6..8d3e2b374 100644 --- a/src-tauri/src/events.rs +++ b/src-tauri/src/events.rs @@ -21,10 +21,10 @@ impl Event { deltas: &Vec, relative_file_path: &std::path::Path, ) -> Self { - let event_name = format!("project://{}/deltas/{}", project.id, session.id); + let event_name = format!("project://{}/sessions/{}/deltas", project.id, session.id); let payload = serde_json::json!({ "deltas": deltas, - "relative_file_path": relative_file_path, + "filePath": relative_file_path, }); Event { name: event_name,