The get highlights endpoint returns too much information #205
Labels
bug
Something isn't working
Good first issue
Good first issue to get to know the project internally.
Projects
Describe the bug
The HighlightResourceResult class returns the full project model instead of using a resource class. It also includes the start and end date of the highlight. In my opinion, these dates should not be returned (unless we actually want to show them in the front end).
To Reproduce
Make a request to the get highlights endpoint.
The start and end dates are returned as well as the full project model.
Expected behaviour
The start and end dates should not be returned.
The only project information that should be returned is the information that is actually shown on the highlights page (homepage) in the front end. Like the name and the short description.
The text was updated successfully, but these errors were encountered: