Skip to content

Commit

Permalink
Change column name for media revision update
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanelsheikha committed Aug 28, 2023
1 parent f4361a3 commit 294647b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workbench
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ def update_media() -> None:

# Update revision log message
if is_revisions_enabled(config, media_type):
revision_log_message = row['revision_log_message'] if 'revision_log_message' in row and row['revision_log_message'] != '' else 'Updated by Islandora Workbench.'
revision_log_message = row['revision_log'] if 'revision_log' in row and row['revision_log'] != '' else 'Updated by Islandora Workbench.'
patch_request_json.update(patch_media_revision_log_message(revision_log_message))

# Make the PATCH request
Expand Down

0 comments on commit 294647b

Please sign in to comment.