Commit a601337a authored by Tae Hoon's avatar Tae Hoon

clean up

parent 93e9bc01
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment