From 2871ad40ce9a81cc87eb444f21f5c858bb948eff Mon Sep 17 00:00:00 2001 From: VisualDust Date: Sun, 26 Nov 2023 05:02:59 +0800 Subject: [PATCH] fixed action query forward direction error --- neetbox/daemon/server/_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neetbox/daemon/server/_server.py b/neetbox/daemon/server/_server.py index 1140bc22..4da0747f 100644 --- a/neetbox/daemon/server/_server.py +++ b/neetbox/daemon/server/_server.py @@ -257,9 +257,9 @@ def send_to_client_of_name(name, message): if _event_type == "action": if _who == "web": # frontend send action query to client - send_to_frontends_of_name(_project_name, message=message) - else: # _who == 'cli', client send action result back to frontend(s) send_to_client_of_name(_project_name, message=message) + else: # _who == 'cli', client send action result back to frontend(s) + send_to_frontends_of_name(_project_name, message=message) return # return after handling action forwarding if _event_type == "ack":