Replace /api/externalprofile/show.json with a MastoAPI equialent

`/api/v1/accounts/:id` supports remote nicknames since pleroma!1622
This commit is contained in:
rinpatch 2019-09-03 19:59:28 +03:00
parent 49159e6db3
commit 457290e81e
4 changed files with 2 additions and 15 deletions

View file

@ -127,8 +127,6 @@ const backendInteractorService = credentials => {
const updateBanner = ({ banner }) => apiService.updateBanner({ credentials, banner })
const updateProfile = ({ params }) => apiService.updateProfile({ credentials, params })
const externalProfile = (profileUrl) => apiService.externalProfile({ profileUrl, credentials })
const importBlocks = (file) => apiService.importBlocks({ file, credentials })
const importFollows = (file) => apiService.importFollows({ file, credentials })
@ -194,7 +192,6 @@ const backendInteractorService = credentials => {
updateBg,
updateBanner,
updateProfile,
externalProfile,
importBlocks,
importFollows,
deleteAccount,