Skip to content

Commit

Permalink
fixed action query forward direction error
Browse files Browse the repository at this point in the history
  • Loading branch information
visualDust committed Nov 25, 2023
1 parent 59fe774 commit 2871ad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neetbox/daemon/server/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 2871ad4

Please sign in to comment.