Skip to content

Commit d3f8f25

Browse files
committed
fix: http endpoints all messed up
1 parent 144f3e7 commit d3f8f25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servc/com/server/http.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,17 @@ def _postMessage(self):
105105
"argumentId": body["argumentId"] if body["argumentId"] else "plain",
106106
"type": InputType.INPUT.value,
107107
}
108-
if body["instanceId"]:
108+
if "instanceId" in body:
109109
value["instanceId"] = body["instanceId"]
110110
else:
111111
return "bad request", 400
112112
id = sendMessage(
113113
value,
114114
self._bus,
115115
self._cache,
116-
force,
117116
simpleIDGenerator,
118-
self._consumer._children,
117+
force,
118+
[],
119119
)
120120
return id
121121
return "Content-Type not supported"

0 commit comments

Comments
 (0)