Skip to content

Commit

Permalink
resource: fix add record to community
Browse files Browse the repository at this point in the history
* Removes response_handler to avoid allowing
  to process the response with the schema
* closes inveniosoftware/invenio-app-rdm#2821
  • Loading branch information
jrcastro2 committed Sep 3, 2024
1 parent 7e66add commit 8139d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_rdm_records/resources/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def search(self):
)
return items.to_dict(), 200

# No response_handler here because we dont want to process the response with the schema
@request_view_args
@response_handler()
@request_data
def add(self):
"""Include record in communities."""
Expand Down

0 comments on commit 8139d44

Please sign in to comment.