chore: Minor code improvements

- Changed variable name in `get_content` function
- Added proper exceptions for `get_topic` and `get_content` functions in lms
This commit is contained in:
scmmishra
2019-04-22 12:28:13 +05:30
parent da2c90cd18
commit 4add826703
3 changed files with 11 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ export default {
methods: {
getContent() {
return lms.call('get_content', {
type: this.type,
content_type: this.type,
content: this.content
})
}