aboutsummaryrefslogtreecommitdiff
path: root/karlcommon
diff options
context:
space:
mode:
authormetamuffin <yvchraiqi@protonmail.com>2022-06-10 18:51:00 +0200
committermetamuffin <yvchraiqi@protonmail.com>2022-06-10 18:51:00 +0200
commit3066b6ac7436f510d2402a15a643c87bd84d75ac (patch)
treeee2690e42986e6caafeae30f1aec56dbe7706c4d /karlcommon
parent4e7b383fe2c1ccea7871c708ff1b281451feddd0 (diff)
downloadkarlender-3066b6ac7436f510d2402a15a643c87bd84d75ac.tar
karlender-3066b6ac7436f510d2402a15a643c87bd84d75ac.tar.bz2
karlender-3066b6ac7436f510d2402a15a643c87bd84d75ac.tar.zst
update protocol spec
Diffstat (limited to 'karlcommon')
-rw-r--r--karlcommon/src/protocol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/karlcommon/src/protocol.rs b/karlcommon/src/protocol.rs
index a86ca3d..f971ef2 100644
--- a/karlcommon/src/protocol.rs
+++ b/karlcommon/src/protocol.rs
@@ -13,7 +13,7 @@ pub enum ClientboundPacket {
}
#[derive(Debug, Clone, Serialize, Deserialize)]
-#[serde(tag = "type", content = "data", rename_all = "snake_case")]
+#[serde(tag = "kind", content = "details", rename_all = "snake_case")]
pub enum ProtoError {
UnknownTask,
FormatError(String),