chore: renamed get_program api functions

- `get_program` is renamed to `get_program_and_enrollment_status`
- `get_program_detail` is renamed to `get_program`
- Minor code improvements
This commit is contained in:
scmmishra
2019-04-22 12:19:39 +05:30
parent 9967d27b9a
commit da2c90cd18
3 changed files with 8 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ export default {
},
methods: {
getProgramDetails() {
return lms.call('get_program_details', {
return lms.call('get_program', {
program_name: this.program_name
});
},