fix: certification caching issue

This commit is contained in:
Jannat Patel
2025-12-19 15:58:46 +05:30
parent 51c1b816a1
commit cde6828c1f

View File

@@ -68,11 +68,12 @@ const props = defineProps({
const certification = createResource({
url: 'lms.lms.api.get_certification_details',
params: {
course: props.courseName,
makeParams(values) {
return {
course: props.courseName,
}
},
auto: user.data ? true : false,
cache: ['certificationData', user.data?.name],
})
const downloadCertificate = () => {