Custom 500 and thread bugfix
This commit is contained in:
parent
0fa6159c47
commit
efc59f7e07
8 changed files with 16 additions and 8 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue