refactor(backend): Ondersteuning voor gepersonaliseerde leerpaden toegevoegd.
This commit is contained in:
parent
a17e2b2793
commit
dc99835a9d
3 changed files with 99 additions and 78 deletions
|
@ -16,7 +16,7 @@ export function useGetLearningPathQuery(
|
|||
queryKey: [LEARNING_PATH_KEY, "get", hruid, language, options],
|
||||
queryFn: () => {
|
||||
const [hruidVal, languageVal, optionsVal] = [toValue(hruid), toValue(language), toValue(options)];
|
||||
return learningPathController.getBy(hruidVal, languageVal)
|
||||
return learningPathController.getBy(hruidVal, languageVal, optionsVal)
|
||||
},
|
||||
enabled: () => Boolean(toValue(hruid)) && Boolean(toValue(language)),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue