aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow_panel
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/who_to_follow_panel')
-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)
})
}