Skip to content

Commit d27c9a0

Browse files
committed
syntax
1 parent 952e04b commit d27c9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astropylibrarian/workflows/expirerecords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async def expire_old_records(
3939
# for r in await algolia_index.browse_objects(obj).hits:
4040
# records = await algolia_index.browse_objects(obj).hits
4141
response = await algolia_index.browse_objects(obj)
42-
records = response.get("hits")
42+
records = response.hits
4343
for r in records:
4444
# Double check that we're deleting the right things.
4545
if r.root_url != root_url:

0 commit comments

Comments
 (0)