Skip to content

Commit

Permalink
fixup! autopublish attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Nov 1, 2023
1 parent 7309831 commit ec7910d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ds-caselaw-ingester/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,8 @@ def handler(event, context):
.get("INGESTER_OPTIONS", {})
.get("auto_publish", False)
)
print(force_publish, metadata)
if force_publish:
print(f"auto_publishing {consignment_reference}")
if api_client.get_published(uri) or force_publish:
update_published_documents(uri, s3_client)

Expand Down

0 comments on commit ec7910d

Please sign in to comment.