Added delete account section to user settings
This commit is contained in:
parent
8f58526bbc
commit
327b6fb5dc
5 changed files with 58 additions and 4 deletions
|
@ -61,6 +61,8 @@ const backendInteractorService = (credentials) => {
|
|||
const externalProfile = (profileUrl) => apiService.externalProfile({profileUrl, credentials})
|
||||
const followImport = ({params}) => apiService.followImport({params, credentials})
|
||||
|
||||
const deleteAccount = ({password}) => apiService.deleteAccount({credentials, password})
|
||||
|
||||
const backendInteractorServiceInstance = {
|
||||
fetchStatus,
|
||||
fetchConversation,
|
||||
|
@ -82,7 +84,8 @@ const backendInteractorService = (credentials) => {
|
|||
updateBanner,
|
||||
updateProfile,
|
||||
externalProfile,
|
||||
followImport
|
||||
followImport,
|
||||
deleteAccount
|
||||
}
|
||||
|
||||
return backendInteractorServiceInstance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue