mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Tweak lookup
This commit is contained in:
parent
e959085d38
commit
93e0d073a0
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ async def get_lookup(
|
||||||
)
|
)
|
||||||
if requested_object:
|
if requested_object:
|
||||||
return RedirectResponse(
|
return RedirectResponse(
|
||||||
request.url_for("admin_object") + f"?ap_id={ap_object.ap_id}",
|
request.url_for("admin_object")
|
||||||
|
+ f"?ap_id={ap_object.ap_id}#"
|
||||||
|
+ requested_object.permalink_id,
|
||||||
status_code=302,
|
status_code=302,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue