3 lines
142 B
JavaScript
3 lines
142 B
JavaScript
let easier = ['challenging', 'average', 'easy', 'veasy'];
|
|
if (easier.includes(args.fields.difficulty))
|
|
args.fields.difficulty = "difficult"; |