aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow/who_to_follow.js
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-03 19:59:28 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-03 19:59:28 +0300
commit457290e81ec9a37bf848f5d166fc77bf487e834d (patch)
tree804b9e6bd33fb2c630d7e5dd7a870e2db193c7eb /src/components/who_to_follow/who_to_follow.js
parent49159e6db354acb79d64860bd6fcfdf496ac7336 (diff)
Replace `/api/externalprofile/show.json` with a MastoAPI equialent
`/api/v1/accounts/:id` supports remote nicknames since pleroma!1622
Diffstat (limited to 'src/components/who_to_follow/who_to_follow.js')
-rw-r--r--src/components/who_to_follow/who_to_follow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/who_to_follow/who_to_follow.js b/src/components/who_to_follow/who_to_follow.js
index 8fab6c4d..1aa3a4cd 100644
--- a/src/components/who_to_follow/who_to_follow.js
+++ b/src/components/who_to_follow/who_to_follow.js
@@ -26,7 +26,7 @@ const WhoToFollow = {
}
this.users.push(user)
- this.$store.state.api.backendInteractor.externalProfile(user.screen_name)
+ this.$store.state.api.backendInteractor.fetchUser({ id: user.screen_name })
.then((externalUser) => {
if (!externalUser.error) {
this.$store.commit('addNewUsers', [externalUser])