getting and setting user background via MastoAPI

This commit is contained in:
Henry Jameson 2019-06-16 20:17:59 +03:00
parent e3638af031
commit 6744396f82
4 changed files with 18 additions and 50 deletions

View file

@ -105,7 +105,7 @@ const backendInteractorService = (credentials) => {
const getCaptcha = () => apiService.getCaptcha()
const register = (params) => apiService.register({ credentials, params })
const updateAvatar = ({avatar}) => apiService.updateAvatar({credentials, avatar})
const updateBg = ({params}) => apiService.updateBg({credentials, params})
const updateBg = ({background}) => apiService.updateBg({credentials, background})
const updateBanner = ({banner}) => apiService.updateBanner({credentials, banner})
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})