aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-08-02 18:38:43 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-08-02 18:38:43 +0900
commit19e310fc670d329896829d25d25d59a16b425ed1 (patch)
tree7a7fbbe686a1ba3871c017c7b00335ef5b35537d /src
parent5900bccff3f09be6bfbfa4a891c91ee043e3a9f0 (diff)
lint
Diffstat (limited to 'src')
-rw-r--r--src/components/who_to_follow_panel/who_to_follow_panel.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/who_to_follow_panel/who_to_follow_panel.js b/src/components/who_to_follow_panel/who_to_follow_panel.js
index 5e85b95d..5b7f6b94 100644
--- a/src/components/who_to_follow_panel/who_to_follow_panel.js
+++ b/src/components/who_to_follow_panel/who_to_follow_panel.js
@@ -59,9 +59,8 @@ function getWhoToFollow (panel) {
panel.name1 = 'Loading...'
panel.name2 = 'Loading...'
panel.name3 = 'Loading...'
- var url = '/api/v1/suggestions'
- apiService.suggestions ({credentials: credentials})
- .then ((reply) => {
+ apiService.suggestions({credentials: credentials})
+ .then((reply) => {
showWhoToFollow(panel, reply)
})
}