Skip to content

Commit 647f641

Browse files
authored
Merge pull request #55 from serv-c/drgroot-patch-1
fix(worker): fixed emit event message
2 parents 4d44acd + e908c81 commit 647f641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

servc/svc/com/http/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def _postMessage(self):
140140
if key not in body:
141141
return f"missing key {key}", StatusCode.INVALID_INPUTS.value
142142

143-
id = self._bus.emitEvent(body["event"], body["details"])
144-
return id
143+
self._bus.emitEvent(body["event"], body["details"])
144+
return body
145145
elif body["type"] == InputType.INPUT.value:
146146
must_have_keys = ["route", "argument"]
147147
for key in must_have_keys:

0 commit comments

Comments
 (0)