diff options
Diffstat (limited to 'op_crates/websocket/lib.rs')
-rw-r--r-- | op_crates/websocket/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op_crates/websocket/lib.rs b/op_crates/websocket/lib.rs index c7567c197..daf61a908 100644 --- a/op_crates/websocket/lib.rs +++ b/op_crates/websocket/lib.rs @@ -282,7 +282,7 @@ pub async fn op_ws_close( } #[derive(Serialize)] -#[serde(rename_all = "camelCase")] +#[serde(tag = "kind", content = "value", rename_all = "camelCase")] pub enum NextEventResponse { String(String), Binary(Vec<u8>), |