Skip to content

Commit

Permalink
Bug fix dataChanges validate.
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-mgreynolds committed Oct 24, 2023
1 parent 86a3bb4 commit 69ceea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prism/commands/dataChanges_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def dataChanges_validate(ctx, isname, dct, search):
validate = p.dataChanges_validate(dct)
logger.info(json.dumps(validate, indent=2))
else:
data_change_tasks = p.dataChanges_get(name=dct, search=search)
data_change_tasks = p.dataChanges_get(datachange_name=dct, search=search)

if data_change_tasks["total"] == 0:
logger.error("No matching data change task(s) found.")
Expand Down

0 comments on commit 69ceea4

Please sign in to comment.