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: