fix enum values

This commit is contained in:
João Geonizeli
2022-07-21 22:47:05 -03:00
parent 7c241b5102
commit 0973148835
3 changed files with 32 additions and 32 deletions

View File

@@ -40,9 +40,9 @@ export const QuestionsByDifficulty: FC = () => {
const {loading, data} = useQuery<QuestionsByDifficultyCountQuery>(
QuestionsByDifficultyCount, {
variables: {
easyWhere: {difficulty: ['easy'], ...where},
mediumWhere: {difficulty: ['medium'], ...where},
hardWhere: {difficulty: ['hard'], ...where},
easyWhere: {difficulty: ['EASY'], ...where},
mediumWhere: {difficulty: ['MEDIUM'], ...where},
hardWhere: {difficulty: ['HARD'], ...where},
},
})