From 9268c9762e71d85b3e5dfa62bfc27bba5f885a60 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:08:15 +0400 Subject: [PATCH] update --- src/Simplex/Chat.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat.hs b/src/Simplex/Chat.hs index 0dda1d61d1..4c3fc432a9 100644 --- a/src/Simplex/Chat.hs +++ b/src/Simplex/Chat.hs @@ -2268,7 +2268,7 @@ processChatCommand' vr = \case servers <- map (\ServerCfg {server} -> server) <$> withStore' (`getProtocolServers` users) let srvs = if null servers then L.toList defServers else servers pure $ map protoServer srvs - ResetAgentServersStats -> lift (withAgent' resetAgentServersStats) >> ok_ + ResetAgentServersStats -> withAgent resetAgentServersStats >> ok_ GetAgentWorkers -> lift $ CRAgentWorkersSummary <$> withAgent' getAgentWorkersSummary GetAgentWorkersDetails -> lift $ CRAgentWorkersDetails <$> withAgent' getAgentWorkersDetails GetAgentStats -> lift $ CRAgentStats . map stat <$> withAgent' getAgentStats