clean up
This commit is contained in:
parent
93e9bc019e
commit
a601337a20
@ -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,
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user