Skip to content

[FEATURE] Handle Default Values for Missing "Need Type" #136

Description

@AlperKartkaya

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions