This commit is contained in:
taehoon 2019-04-24 21:56:09 -04:00
parent 93e9bc019e
commit a601337a20
2 changed files with 5 additions and 12 deletions

View File

@ -43,14 +43,6 @@ const backendInteractorService = (credentials) => {
return apiService.unfollowUser({credentials, id})
}
const pinOwnStatus = (id) => {
return apiService.pinOwnStatus({credentials, id})
}
const unpinOwnStatus = (id) => {
return apiService.unpinOwnStatus({ credentials, id })
}
const blockUser = (id) => {
return apiService.blockUser({credentials, id})
}
@ -106,7 +98,9 @@ const backendInteractorService = (credentials) => {
const fetchFollowRequests = () => apiService.fetchFollowRequests({credentials})
const fetchOAuthTokens = () => apiService.fetchOAuthTokens({credentials})
const revokeOAuthToken = (id) => apiService.revokeOAuthToken({id, credentials})
const fetchPinnedStatuses = (id) => apiService.fetchPinnedStatuses({ id, credentials })
const fetchPinnedStatuses = (id) => apiService.fetchPinnedStatuses({credentials, id})
const pinOwnStatus = (id) => apiService.pinOwnStatus({credentials, id})
const unpinOwnStatus = (id) => apiService.unpinOwnStatus({credentials, id})
const getCaptcha = () => apiService.getCaptcha()
const register = (params) => apiService.register(params)
@ -139,8 +133,6 @@ const backendInteractorService = (credentials) => {
fetchFollowers,
followUser,
unfollowUser,
pinOwnStatus,
unpinOwnStatus,
blockUser,
unblockUser,
fetchUser,
@ -156,6 +148,8 @@ const backendInteractorService = (credentials) => {
fetchOAuthTokens,
revokeOAuthToken,
fetchPinnedStatuses,
pinOwnStatus,
unpinOwnStatus,
tagUser,
untagUser,
addRight,

View File

@ -131,7 +131,6 @@ export const parseUser = (data) => {
output.statuses_count = data.statuses_count
output.friendIds = []
output.followerIds = []
if (data.pleroma) {
output.follow_request_count = data.pleroma.follow_request_count
}