mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
add max length validations for summary in challenge create and update… (#14053)
* add max length validations for summary in challenge create and update controllers * Add validation to group APIs * fix lint errors * add validation to group plan * fix imports * add tests * add max length validations for summary in challenge create and update controllers * Add validation to group APIs * fix lint errors * add validation to group plan * fix imports * add tests * lint checks
This commit is contained in:
@@ -39,4 +39,5 @@ export default {
|
||||
directionUpDown: '"direction" is required and must be "up" or "down".',
|
||||
invalidTaskIdentifier: 'A task is identified by its UUID or alias.',
|
||||
invalidTaskScorings: 'This API route expects a body in the form of [{id, direction}].',
|
||||
summaryLengthExceedsMax: 'Summary length is too high.',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user