de-lodashify
This commit is contained in:
parent
9648e45341
commit
2db420ac54
7 changed files with 44 additions and 56 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { concat, last } from 'lodash'
|
||||
import { last } from 'lodash'
|
||||
|
||||
import { paramsString, promisedRequest } from './helpers.js'
|
||||
import { fetchFriends, MASTODON_STATUS_URL } from './public.js'
|
||||
|
|
@ -412,7 +412,7 @@ export const exportFriends = ({ id, credentials }) => {
|
|||
credentials,
|
||||
withRelationships: true,
|
||||
})
|
||||
friends = concat(friends, users)
|
||||
friends = [...friends, ...users]
|
||||
if (users.length === 0) {
|
||||
more = false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue