diff options
-rw-r--r-- | src/protocol.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index 829dde1..78c7303 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -14,7 +14,7 @@ pub enum ClientProto { } #[derive(Serialize, Deserialize, Debug)] -#[serde(tag = "kind")] +#[serde(tag = "command_info")] #[serde(rename_all = "snake_case")] pub enum CommandInfo { Started { command: Vec<String>, cwd: Option<String>, id: u32 }, @@ -22,7 +22,7 @@ pub enum CommandInfo { } #[derive(Serialize, Deserialize, Debug)] -#[serde(tag = "kind")] +#[serde(tag = "task_info")] #[serde(rename_all = "snake_case")] pub enum TaskInfo { Finished { status: String }, |