From cde6828c1f303c9a743013fc05d52a448523c052 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 19 Dec 2025 15:58:46 +0530 Subject: [PATCH] fix: certification caching issue --- frontend/src/components/CertificationLinks.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/CertificationLinks.vue b/frontend/src/components/CertificationLinks.vue index 0da84a13..1f371def 100644 --- a/frontend/src/components/CertificationLinks.vue +++ b/frontend/src/components/CertificationLinks.vue @@ -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 = () => {