Skip to content

Commit

Permalink
Merge pull request #57 from astropy/learn_site_fix2
Browse files Browse the repository at this point in the history
Continuation of #56
  • Loading branch information
jeffjennings authored Jan 13, 2025
2 parents 3d88ca6 + 34b86ef commit c20a6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astropylibrarian/workflows/expirerecords.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def expire_old_records(
attributes_to_highlight=[],
)
old_object_ids: List[str] = []
async for r in algolia_index.browse_objects(obj):
for r in await algolia_index.browse_objects(obj):
# Double check that we're deleting the right things.
if r["root_url"] != root_url:
logger.warning("root_url does not match: %s", r["root_url"])
Expand Down

0 comments on commit c20a6dd

Please sign in to comment.