Switch to mastoapi for updating banner
This commit is contained in:
parent
808e1ac11c
commit
909d11825d
3 changed files with 18 additions and 43 deletions
|
@ -103,7 +103,7 @@ const backendInteractorService = (credentials) => {
|
|||
const register = (params) => apiService.register(params)
|
||||
const updateAvatar = ({avatar}) => apiService.updateAvatar({credentials, avatar})
|
||||
const updateBg = ({params}) => apiService.updateBg({credentials, params})
|
||||
const updateBanner = ({params}) => apiService.updateBanner({credentials, params})
|
||||
const updateBanner = ({banner}) => apiService.updateBanner({credentials, banner})
|
||||
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})
|
||||
|
||||
const externalProfile = (profileUrl) => apiService.externalProfile({profileUrl, credentials})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue