Add unfollowing.

This commit is contained in:
Roger Braun 2016-12-23 16:45:57 +01:00
parent 2088b3c4dd
commit 8f494b14f0
3 changed files with 23 additions and 1 deletions

View file

@ -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
}