Skip to content

Commit

Permalink
Resolves #762.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Mar 28, 2024
1 parent 514b8f3 commit 76736ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workbench_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,9 @@ def update(
if field_definitions[field_name]["target_type"] == "node":
target_type = "node_type"

if field_definitions[field_name]["target_type"] == "media":
target_type = "media_type"

cardinality = int(field_definitions[field_name].get("cardinality", -1))
if config["update_mode"] == "replace":
field_values = []
Expand Down

0 comments on commit 76736ba

Please sign in to comment.