mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
Make a lookup trigger a question update
This commit is contained in:
parent
3e5d1c00b5
commit
2d7e03d5b2
1 changed files with 3 additions and 0 deletions
3
app.py
3
app.py
|
@ -1456,6 +1456,9 @@ def admin_lookup():
|
||||||
actor=data.get_actor().to_dict(),
|
actor=data.get_actor().to_dict(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
elif data.has_type(ActivityType.QUESTION):
|
||||||
|
p.push(data.id, "/task/fetch_remote_question")
|
||||||
|
|
||||||
print(data)
|
print(data)
|
||||||
app.logger.debug(data.to_dict())
|
app.logger.debug(data.to_dict())
|
||||||
return render_template(
|
return render_template(
|
||||||
|
|
Loading…
Reference in a new issue