style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-05-19 21:44:54 +00:00
parent f85abea6f3
commit 84b2cb1749
3 changed files with 40 additions and 19 deletions

View file

@ -51,8 +51,22 @@ export function useQuestionsGroupQuery(
full: MaybeRefOrGetter<boolean> = true,
): UseQueryReturnType<QuestionsResponse, Error> {
return useQuery({
queryKey: computed(() => questionsGroupQueryKey(toValue(loId), toValue(full), toValue(classId), toValue(assignmentId), toValue(student))),
queryFn: async () => new QuestionController(toValue(loId)).getAllGroup( toValue(classId), toValue(assignmentId), toValue(student),toValue(full)),
queryKey: computed(() =>
questionsGroupQueryKey(
toValue(loId),
toValue(full),
toValue(classId),
toValue(assignmentId),
toValue(student),
),
),
queryFn: async () =>
new QuestionController(toValue(loId)).getAllGroup(
toValue(classId),
toValue(assignmentId),
toValue(student),
toValue(full),
),
enabled: () => Boolean(toValue(loId)),
});
}