Files
Flowise/packages
Mehdi 54d1b5e3bb feat(feedback): add validation for feedback creation and update (#4260)
* feat(feedback): add validation for feedback creation and update

Introduced validation functions for feedback creation and update in the new validation service.
Updated feedback controller to utilize these validation functions before processing requests.

* refactor(feedback): update validation to return feedback object

- Modified validateFeedbackExists to return the ChatMessageFeedback object instead of a boolean.
- Updated validateFeedbackForUpdate to utilize the returned feedback object for setting default values.
2025-04-15 02:38:02 +08:00
..
2025-04-09 16:28:51 +08:00