Description:
Enhance the input validation and sanitization logic when creating a help request to gracefully handle missing information. Update validators.js to automatically supply an appropriate default value for the "need type" field if it is omitted from the incoming API request body. This ensures robust API behavior and a smoother client experience.
Description:
Enhance the input validation and sanitization logic when creating a help request to gracefully handle missing information. Update
validators.jsto automatically supply an appropriate default value for the "need type" field if it is omitted from the incoming API request body. This ensures robust API behavior and a smoother client experience.