de-lodashify

This commit is contained in:
Henry Jameson 2026-08-04 16:36:27 +03:00
commit 2db420ac54
7 changed files with 44 additions and 56 deletions

View file

@ -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
}