diff --git a/frontend/src/router.js b/frontend/src/router.js index 35e722b4..6302a080 100644 --- a/frontend/src/router.js +++ b/frontend/src/router.js @@ -139,12 +139,6 @@ const routes = [ name: 'Notifications', component: () => import('@/pages/Notifications.vue'), }, - { - path: '/badges/:badgeName/:email', - name: 'Badge', - component: () => import('@/pages/Badge.vue'), - props: true, - }, { path: '/quizzes', name: 'Quizzes', diff --git a/lms/patches/v2_0/enable_allow_job_posting.py b/lms/patches/v2_0/enable_allow_job_posting.py index c0a1e0e4..1b19e9be 100644 --- a/lms/patches/v2_0/enable_allow_job_posting.py +++ b/lms/patches/v2_0/enable_allow_job_posting.py @@ -2,4 +2,4 @@ import frappe def execute(): - frappe.db.set_value("LMS Settings", None, "allow_job_posting", 1) + frappe.db.set_single_value("LMS Settings", "allow_job_posting", 1)