Skip to content

Commit

Permalink
fix(server): not being able to save custom text shuffle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Apr 28, 2024
1 parent 26d8699 commit a2078da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/schemas/result-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const RESULT_SCHEMA = joi
consistency: joi.number().min(0).max(100).required(),
customText: joi.object({
textLen: joi.number().required(),
mode: joi.string().valid("repeat", "random").required(),
mode: joi.string().valid("repeat", "random", "shuffle").required(),
pipeDelimiter: joi.boolean().required(),
limit: joi.object({
mode: joi.string().valid("word", "time", "section").required(),
Expand Down

0 comments on commit a2078da

Please sign in to comment.