From e908c81438c1b8f3f99f025400e0488a3fdb2180 Mon Sep 17 00:00:00 2001 From: Yusuf Ali Date: Sun, 26 Jan 2025 19:28:42 -0500 Subject: [PATCH] fix(worker): fixed emit event message --- servc/svc/com/http/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servc/svc/com/http/__init__.py b/servc/svc/com/http/__init__.py index f18e9ec..95b9aee 100644 --- a/servc/svc/com/http/__init__.py +++ b/servc/svc/com/http/__init__.py @@ -140,8 +140,8 @@ def _postMessage(self): if key not in body: return f"missing key {key}", StatusCode.INVALID_INPUTS.value - id = self._bus.emitEvent(body["event"], body["details"]) - return id + self._bus.emitEvent(body["event"], body["details"]) + return body elif body["type"] == InputType.INPUT.value: must_have_keys = ["route", "argument"] for key in must_have_keys: