Replace /api/externalprofile/show.json
with a MastoAPI equialent
`/api/v1/accounts/:id` supports remote nicknames since pleroma!1622
This commit is contained in:
parent
49159e6db3
commit
457290e81e
4 changed files with 2 additions and 15 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue