change api function name
This commit is contained in:
parent
6d0e98a1c2
commit
6ea4154084
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue