Add unfollowing.
This commit is contained in:
parent
2088b3c4dd
commit
8f494b14f0
3 changed files with 23 additions and 1 deletions
|
@ -21,12 +21,17 @@ const backendInteractorService = (credentials) => {
|
|||
return apiService.followUser({credentials, id})
|
||||
}
|
||||
|
||||
const unfollowUser = (id) => {
|
||||
return apiService.unfollowUser({credentials, id})
|
||||
}
|
||||
|
||||
const backendInteractorServiceInstance = {
|
||||
fetchStatus,
|
||||
fetchConversation,
|
||||
fetchMentions,
|
||||
fetchFriends,
|
||||
followUser,
|
||||
unfollowUser,
|
||||
verifyCredentials: apiService.verifyCredentials
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue