From e3d69dc043670dcc370e576a7eb3cb9b5a3e45fa Mon Sep 17 00:00:00 2001 From: regenerativep Date: Tue, 29 Jun 2021 15:36:51 -0400 Subject: named contents wrong --- src/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.rs b/src/chat.rs index fbce103..4770579 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -1098,7 +1098,7 @@ where return Err(A::Error::custom("none for value key=action")); } } - "value" | "content" => { + "value" | "contents" => { value = access.next_value()?; if value.is_none() { return Err(A::Error::custom("none for value key=value")); -- cgit