Skip to content

Commit

Permalink
Edit request works
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Mar 26, 2024
1 parent 333d7c9 commit f815607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oarepo_requests/actions/edit_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ def execute(self, identity, uow):
topic_service = get_matching_service_for_record(topic)
if not topic_service:
raise KeyError(f"topic {topic} service not found")
topic_service.edit(identity, topic.id, uow=uow)
topic_service.edit(identity, topic['id'], uow=uow)
super().execute(identity, uow)

0 comments on commit f815607

Please sign in to comment.