Skip to content

Commit

Permalink
Merge pull request #49 from MITLibraries/dynamodb-update-fix
Browse files Browse the repository at this point in the history
Add dynamodb update
  • Loading branch information
ehanson8 committed Feb 10, 2022
2 parents 4b58a65 + b06fc8f commit 44b621f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion awd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ def listen(
ctx.obj["doi_table"], doi, Status.FAILED.value
)
else:
continue
dynamodb_client.update_doi_item_status_in_database(
ctx.obj["doi_table"], doi, Status.UNPROCESSED.value
)
else:
logger.info(f"DOI: {doi}, Result: {body}")
sqs.delete(
Expand Down

0 comments on commit 44b621f

Please sign in to comment.