Skip to content

Commit

Permalink
Pop extra RI keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Nov 7, 2024
1 parent 2ea3ff7 commit 0af32cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arches/app/datatypes/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,8 @@ def from_id_string(uuid_string):
case str():
transformed.append(from_id_string(inner))
case _:
# TODO: move this to validate?
inner.pop("display_value", None)
transformed.append(inner)
return transformed
if isinstance(value, models.ResourceInstance):
Expand Down
1 change: 0 additions & 1 deletion arches/app/views/api/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def update(self, request, *args, **kwargs):
user=request.user,
permission_callable=user_can_edit_resource,
)
# TODO: return correct response with updated object.
return super().update(request, *args, **kwargs)

def destroy(self, request, *args, **kwargs):
Expand Down

0 comments on commit 0af32cd

Please sign in to comment.