Skip to content

Commit

Permalink
Course home: Add session id
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Oct 7, 2021
1 parent 84bea41 commit d3ba7d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/vue/views/course/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default {
let courseId = route.params.id;
let sessionId = route.query.sid ?? 0;
axios.get(ENTRYPOINT + '../course/' + courseId + '/home.json').then(response => {
axios.get(ENTRYPOINT + '../course/' + courseId + '/home.json?sid=' + sessionId).then(response => {
state.course = response.data.course;
state.tools = response.data.tools;
state.shortcuts = response.data.shortcuts;
Expand Down

0 comments on commit d3ba7d0

Please sign in to comment.