Apply suggestion to src/services/backend_interactor_service/backend_interactor_service.js
This commit is contained in:
parent
8caf13bbce
commit
22a3351208
|
@ -105,7 +105,7 @@ const backendInteractorService = (credentials) => {
|
||||||
const getCaptcha = () => apiService.getCaptcha()
|
const getCaptcha = () => apiService.getCaptcha()
|
||||||
const register = (params) => apiService.register({ credentials, params })
|
const register = (params) => apiService.register({ credentials, params })
|
||||||
const updateAvatar = ({avatar}) => apiService.updateAvatar({credentials, avatar})
|
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 updateBanner = ({banner}) => apiService.updateBanner({credentials, banner})
|
||||||
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})
|
const updateProfile = ({params}) => apiService.updateProfile({credentials, params})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue