aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow/who_to_follow.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-09-06 04:13:21 +0000
committerShpuld Shpludson <shp@cock.li>2019-09-06 04:13:21 +0000
commite75ac9ddbc66a7e3cd40ef130b26b06b8cec9f1d (patch)
tree9c3af83cbfeae8c2eed6d746f9f4c2170e3c2b42 /src/components/who_to_follow/who_to_follow.js
parent702dc6963c237c03b1fe2b0f700582107dd79190 (diff)
parent457290e81ec9a37bf848f5d166fc77bf487e834d (diff)
Merge branch 'mastoapi-externalprofile' into 'develop'
Replace `/api/externalprofile/show.json` with a MastoAPI equialent See merge request pleroma/pleroma-fe!938
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])