Custom 500 and thread bugfix
This commit is contained in:
@@ -144,7 +144,8 @@ def _build_thread(data, include_children=True): # noqa: C901
|
||||
data["_requested"] = True
|
||||
app.logger.info(f"_build_thread({data!r})")
|
||||
root_id = data["meta"].get(
|
||||
MetaKey.THREAD_ROOT_PARENT.value, data["meta"][MetaKey.OBJECT_ID.value]
|
||||
MetaKey.THREAD_ROOT_PARENT.value,
|
||||
data["meta"].get(MetaKey.OBJECT_ID.value, data["meta"].get("remote_id")),
|
||||
)
|
||||
|
||||
replies = [data]
|
||||
|
Reference in New Issue
Block a user