From 26cb18d7eeead5742b0c261a2fc1af835ddf9d4a Mon Sep 17 00:00:00 2001 From: Xavier Basty Date: Fri, 31 Mar 2023 11:52:37 +0200 Subject: [PATCH] fix: handlers (#17) --- src/handlers/save_message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/save_message.rs b/src/handlers/save_message.rs index e007d00..e57c1f6 100644 --- a/src/handlers/save_message.rs +++ b/src/handlers/save_message.rs @@ -28,7 +28,7 @@ pub struct HistoryPayload { pub async fn handler( StateExtractor(state): StateExtractor>, // RequireValidSignature(Json(payload)): RequireValidSignature>, - Json(body): Json, + Json(payload): Json, ) -> error::Result { debug!("Received `save_message` query: {:?}", payload);