Fix actor lookup
This commit is contained in:
parent
d1b4bd0181
commit
4ae198d074
2 changed files with 3 additions and 4 deletions
|
@ -103,7 +103,7 @@ async def get_lookup(
|
|||
await fetch_actor(
|
||||
db_session, ap_object.ap_id, save_if_not_found=False
|
||||
)
|
||||
except ap.NotAnObjectError:
|
||||
except ap.ObjectNotFoundError:
|
||||
pass
|
||||
else:
|
||||
return RedirectResponse(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue