More debug

This commit is contained in:
Thomas Sileo 2019-04-11 07:58:46 +02:00
parent 4c5d400601
commit 333e3b314d

1
app.py
View file

@ -835,6 +835,7 @@ def with_replies():
def _build_thread(data, include_children=True): # noqa: C901 def _build_thread(data, include_children=True): # noqa: C901
data["_requested"] = True data["_requested"] = True
app.logger.info(f"_build_thread({data!r})")
root_id = data["meta"].get("thread_root_parent", data["activity"]["object"]["id"]) root_id = data["meta"].get("thread_root_parent", data["activity"]["object"]["id"])
query = { query = {