aboutsummaryrefslogtreecommitdiff
path: root/src/services/backend_interactor_service
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-08-19 03:32:44 -0400
committerlambadalambda <gitgud@rogerbraun.net>2017-08-19 03:32:44 -0400
commitfb3408d64f361417c31f7fde4d206eab3e17acae (patch)
treef109e7b71cd4ca358d4840074318ece3a11b4f46 /src/services/backend_interactor_service
parent0c4f076765cf13c3e0d82501797e22a26def22ee (diff)
parent9503b8fa41b9f6e3c500af411b29ee1c27844253 (diff)
Merge branch 'feature/profile-editing' into 'develop'
Feature/profile editing See merge request !95
Diffstat (limited to 'src/services/backend_interactor_service')
-rw-r--r--src/services/backend_interactor_service/backend_interactor_service.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/services/backend_interactor_service/backend_interactor_service.js b/src/services/backend_interactor_service/backend_interactor_service.js
index 5dbbf4b3..5311f268 100644
--- a/src/services/backend_interactor_service/backend_interactor_service.js
+++ b/src/services/backend_interactor_service/backend_interactor_service.js
@@ -38,6 +38,10 @@ const backendInteractorService = (credentials) => {
const register = (params) => apiService.register(params)
const updateAvatar = ({params}) => apiService.updateAvatar({credentials, params})
+ const updateBg = ({params}) => apiService.updateBg({credentials, params})
+ const updateBanner = ({params}) => apiService.updateBanner({credentials, params})
+ const updateProfile = ({params}) => apiService.updateProfile({credentials, params})
+
const externalProfile = (profileUrl) => apiService.externalProfile(profileUrl)
const backendInteractorServiceInstance = {
@@ -53,6 +57,9 @@ const backendInteractorService = (credentials) => {
fetchMutes,
register,
updateAvatar,
+ updateBg,
+ updateBanner,
+ updateProfile,
externalProfile
}