sennetconsortium / entity-api

A set of web service calls to return information about SenNet entities
MIT License
0 stars 0 forks source link

Modify PUT `/entities/<id>` (update_entity) to default to returning simple message instead of entity dictionary #360

Closed maxsibilla closed 3 months ago

maxsibilla commented 3 months ago

The new default response should be:

return jsonify({'message': f"{normalized_entity_type} of {id} has been updated"})
maxsibilla commented 3 months ago

https://github.com/sennetconsortium/portal-ui/blob/main/src/context/EntityContext.jsx#L160