Open NicoPennec opened 3 months ago
Context Zou version: 0.19.31
Describe the bug The endpoint to load all comments returns a list of comments with a list of "preview" objects in the previews property.
previews
GET /data/tasks/{taskId}/comments
However, the endpoint to load one comment returns a comment with only a list of preview IDs in the previews property.
GET /data/comments/{commentId}?relations=true
Expected behavior Have complete preview objects in the previews property for the "load comment" endpoint.
Context Zou version: 0.19.31
Describe the bug The endpoint to load all comments returns a list of comments with a list of "preview" objects in the
previews
property.However, the endpoint to load one comment returns a comment with only a list of preview IDs in the
previews
property.Expected behavior Have complete preview objects in the
previews
property for the "load comment" endpoint.