change api function name

This commit is contained in:
taehoon 2019-03-30 07:22:30 -04:00
parent 6d0e98a1c2
commit 6ea4154084
3 changed files with 5 additions and 5 deletions

View file

@ -634,7 +634,7 @@ const uploadMedia = ({formData, credentials}) => {
.then((data) => parseAttachment(data))
}
const followImport = ({file, credentials}) => {
const importFollows = ({file, credentials}) => {
const formData = new FormData()
formData.append('list', file)
return fetch(FOLLOW_IMPORT_URL, {
@ -778,7 +778,7 @@ const apiService = {
updateProfile,
updateBanner,
externalProfile,
followImport,
importFollows,
deleteAccount,
changePassword,
fetchFollowRequests,