Skip to content

Commit

Permalink
Stop bulk imports from AMZ records
Browse files Browse the repository at this point in the history
Import AMZ records as `staged`.
See internetarchive#8541
  • Loading branch information
scottbarnes committed Jan 5, 2024
1 parent b71bc4b commit 6c789ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/affiliate_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def process_amazon_batch(isbn_10s: list[str]) -> None:
n=len(pending_books),
)
get_current_amazon_batch().add_items(
[{'ia_id': b['source_records'][0], 'data': b} for b in pending_books]
[{'ia_id': b['source_records'][0], 'status': 'staged', 'data': b} for b in pending_books]
)


Expand Down

0 comments on commit 6c789ef

Please sign in to comment.