diff --git a/client/src/stores/learningPath.ts b/client/src/stores/learningPath.ts index 014d249e..fcdd6e74 100644 --- a/client/src/stores/learningPath.ts +++ b/client/src/stores/learningPath.ts @@ -33,7 +33,7 @@ export const useLearningPathStore = defineStore({ learningPathForUser: (state) => { return (courseSlug: string, userId: string | number | undefined) => { if (state.learningPaths.size > 0) { - const learningPathKey = getLearningPathKey(courseSlug, userId); + const learningPathKey = getLearningPathKey(`${courseSlug}-lp`, userId); return state.learningPaths.get(learningPathKey); }