Very basic user following.
This commit is contained in:
parent
f18f87747f
commit
fc268c48bc
4 changed files with 58 additions and 0 deletions
|
@ -17,11 +17,16 @@ const backendInteractorService = (credentials) => {
|
|||
return apiService.fetchFriends({credentials})
|
||||
}
|
||||
|
||||
const followUser = (id) => {
|
||||
return apiService.followUser({credentials, id})
|
||||
}
|
||||
|
||||
const backendInteractorServiceInstance = {
|
||||
fetchStatus,
|
||||
fetchConversation,
|
||||
fetchMentions,
|
||||
fetchFriends,
|
||||
followUser,
|
||||
verifyCredentials: apiService.verifyCredentials
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue