fix: fixed help center to integrate with frontend #897
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Resolved issues with the help center endpoints that were not processing correctly. Also fixed the Help Center GET filter endpoint by removing the request body and corrected the placement of the topic ID.
Related Issue (Link to issue ticket)
#960
hngprojects/hng_boilerplate_nestjs#951
Motivation and Context
These changes are necessary to ensure the help center endpoints function correctly. The changes address the incorrect processing of requests, eliminates the request bodies in the GET filter endpoint, and corrects the placement of the topic ID.
How Has This Been Tested?
Unit tests were written and carried out for this endpoint using the Pytest library.
Screenshots (if appropriate - Postman, etc):
SWAGGER UI
UPDATE HELP CENTER TOPIC
FILTER HELP CENTER TOPICS
Types of changes
Checklist: