Fix copy/paste bad code on /api/me/pending_follows
This commit is contained in:
parent
34d481ea77
commit
a0b7b85e8f
|
@ -14,9 +14,9 @@ module.exports = {
|
|||
type: 'Follow',
|
||||
rejected: undefined,
|
||||
accepted: undefined,
|
||||
})
|
||||
}).toArray()
|
||||
for (var i = 0; i < follows.length; i++) {
|
||||
const account = await api.accounts.getAccount(follows[i].actor)
|
||||
const account = await api.accounts.getAccount(follows[i].object)
|
||||
result.from_me.push(account)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue