miLibris / flask-rest-jsonapi

Flask extension to build REST APIs around JSONAPI 1.0 specification.
http://flask-rest-jsonapi.readthedocs.io
MIT License
597 stars 153 forks source link

POST on relationship can return 204 (No Content) even if there's content #41

Closed stefanoborini closed 7 years ago

stefanoborini commented 7 years ago

From my understanding of the code, POST on a relationship can return 204 if update is false, but this does not imply that there can't be any payload as a result of the following code.

akira-dev commented 7 years ago

Yes, you're right. Thx. Fixed in ea7a5a1ba7317a55cde8c9ecc57ad1eabe4d78aa