fix: minor issues

This commit is contained in:
pateljannat
2021-06-15 18:40:14 +05:30
parent e94c3f27ab
commit 9c1506d3c8
6 changed files with 11 additions and 8 deletions

View File

@@ -72,7 +72,8 @@ frappe.ready(() => {
method: "community.lms.doctype.lms_batch_membership.lms_batch_membership.update_current_membership",
args: {
"batch": "{{ batch.name }}",
"course": "{{ batch.course}}"
"course": "{{ batch.course}}",
"member": frappe.session.user
},
callback: (data) => {
window.location.href = "/courses/{{ batch.course }}/home"