1
0
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:
Thomas Sileo
2022-08-15 22:22:15 +02:00
parent d1b4bd0181
commit 4ae198d074
2 changed files with 3 additions and 4 deletions

View File

@ -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(