chore: renamed get_topic_meta to get_student_topic_details

This commit is contained in:
scmmishra 2019-04-22 12:06:28 +05:30
parent d5973fe4bc
commit d78c326f95
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ export default {
if(content_type == 'Quiz') return 'fa fa-question-circle-o' if(content_type == 'Quiz') return 'fa fa-question-circle-o'
}, },
getTopicMeta() { getTopicMeta() {
return lms.call('get_topic_meta', { return lms.call('get_student_topic_details', {
topic_name: this.topic.name, topic_name: this.topic.name,
course_name: this.course_name, course_name: this.course_name,
}) })

View File

@ -195,7 +195,7 @@ def get_student_course_details(course_name, program_name):
return {'flag':'Continue'} return {'flag':'Continue'}
@frappe.whitelist() @frappe.whitelist()
def get_topic_meta(topic_name, course_name): def get_student_topic_details(topic_name, course_name):
""" """
Return the porgress of a course in a program as well as the content to continue from. Return the porgress of a course in a program as well as the content to continue from.
:param topic_name: :param topic_name: