1
0
Fork 0
forked from srxl/akkoma-fe

Apply suggestion to src/services/backend_interactor_service/backend_interactor_service.js

This commit is contained in:
HJ 2019-06-17 20:12:11 +00:00
parent 8caf13bbce
commit 22a3351208

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 = ({background}) => apiService.updateBg({credentials, background})
const updateBg = ({ background }) => apiService.updateBg({ credentials, background })
const updateBanner = ({banner}) => apiService.updateBanner({credentials, banner})
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})