Skip to content

Commit c20a6dd

Browse files
authored
Merge pull request #57 from astropy/learn_site_fix2
Continuation of #56
2 parents 3d88ca6 + 34b86ef commit c20a6dd

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
@@ -36,7 +36,7 @@ async def expire_old_records(
3636
attributes_to_highlight=[],
3737
)
3838
old_object_ids: List[str] = []
39-
async for r in algolia_index.browse_objects(obj):
39+
for r in await algolia_index.browse_objects(obj):
4040
# Double check that we're deleting the right things.
4141
if r["root_url"] != root_url:
4242
logger.warning("root_url does not match: %s", r["root_url"])

0 commit comments

Comments
 (0)