Skip to content

Commit 0b0b1e8

Browse files
committed
replace 'objectID' with 'object_id'
1 parent 25ad4c9 commit 0b0b1e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astropylibrarian/workflows/expirerecords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ async def expire_old_records(
4646
if r.index_epoch == index_epoch:
4747
logger.warning("index_epoch matches current epoch: %s", r.index_epoch)
4848
continue
49-
old_object_ids.append(r.objectID)
49+
old_object_ids.append(r.object_id)
5050

5151
logger.info(
52-
"Collected %d old objectIDs for deletion, for %s",
52+
"Collected %d old object_id for deletion, for %s",
5353
len(old_object_ids),
5454
root_url,
5555
)

0 commit comments

Comments
 (0)