diff --git a/src/components/login/login.ts b/src/components/login/login.ts index 1e7129f..06fc654 100644 --- a/src/components/login/login.ts +++ b/src/components/login/login.ts @@ -20,13 +20,13 @@ export default class Login extends Vue // Call custom event this.$emit('login:click', this.username, this.password); - // Fetch request TODO: Add username and password when the server is ready. + // Fetch request TODO: Add username and password when the https server is ready. fetch(`${Constants.API_URL}/veracross/courses`).then(res => { // Get response body text res.text().then(text => { - // Call custom text event + // Call custom event with courses info this.$emit('login:courses', JSON.parse(text)); }) })