async function checkFollow (follower: ServerInfo, following: ServerInfo, exists: boolean) {
{
- const res = await getFollowersListPaginationAndSort(following.url, 0, 5, '-createdAt')
+ const res = await getFollowersListPaginationAndSort({ url: following.url, start: 0, count: 5, sort: '-createdAt' })
const follows = res.body.data as ActorFollow[]
const follow = follows.find(f => {
}
{
- const res = await getFollowingListPaginationAndSort(follower.url, 0, 5, '-createdAt')
+ const res = await getFollowingListPaginationAndSort({ url: follower.url, start: 0, count: 5, sort: '-createdAt' })
const follows = res.body.data as ActorFollow[]
const follow = follows.find(f => {
await checkFollow(servers[1], servers[0], true)
await resetFollows(servers)
+
+ config.followings.instance.autoFollowBack.enabled = false
+ config.followers.instance.manualApproval = false
+ await updateCustomSubConfig(servers[1].url, servers[1].accessToken, config)
})
})