This commit is contained in:
parent
6581f577be
commit
5811ab46ba
@ -28,7 +28,7 @@ module.exports = client => {
|
||||
})
|
||||
for (const instance of result.hits.hits) {
|
||||
if (last && instance._source && last.instance === instance._source.instance) {
|
||||
await client.delete({ index: index, id: instance._id })
|
||||
await client.delete({ index: constant.index, id: instance._id })
|
||||
count.deleted++
|
||||
console.log('deleted ' + instance._id + ': ' + instance._source.instance)
|
||||
}
|
||||
|
@ -109,8 +109,8 @@ const apexinstance = require('./lib/apex'),
|
||||
}
|
||||
taskdeletedup(client)
|
||||
await apex.startDelivery()
|
||||
await fediblock(client, apex, app)
|
||||
console.log('Server listening on ' + server.address().address + ':' + server.address().port)
|
||||
await fediblock(client, apex, app)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user