mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Fix actor lookup
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user