From cea3c2724f7afedaee41ca0c453a1c10b131dd9a Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Wed, 21 Aug 2019 14:01:25 +0800 Subject: [PATCH] [O] Clarify comments --- src/components/login/login.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }) })