diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-09-03 19:59:28 +0300 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-09-03 19:59:28 +0300 |
| commit | 457290e81ec9a37bf848f5d166fc77bf487e834d (patch) | |
| tree | 804b9e6bd33fb2c630d7e5dd7a870e2db193c7eb /src/components/who_to_follow_panel | |
| parent | 49159e6db354acb79d64860bd6fcfdf496ac7336 (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_panel')
| -rw-r--r-- | src/components/who_to_follow_panel/who_to_follow_panel.js | 2 |
1 files changed, 1 insertions, 1 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 7d01678b..dcb56106 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 @@ -13,7 +13,7 @@ function showWhoToFollow (panel, reply) { toFollow.img = img toFollow.name = name - panel.$store.state.api.backendInteractor.externalProfile(name) + panel.$store.state.api.backendInteractor.fetchUser({ id: name }) .then((externalUser) => { if (!externalUser.error) { panel.$store.commit('addNewUsers', [externalUser]) |
