mirror of
https://github.com/LBRYFoundation/curate.git
synced 2025-08-23 17:37:25 +00:00
Fix abandonall
This commit is contained in:
parent
26aaac8009
commit
3e65687166
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ module.exports = class AbaondonAll extends Command {
|
||||||
})) return;
|
})) return;
|
||||||
await this.client.startTyping(message.channel);
|
await this.client.startTyping(message.channel);
|
||||||
const pairs = await this.client.sqlite.getAll();
|
const pairs = await this.client.sqlite.getAll();
|
||||||
const count = 0;
|
let count = 0;
|
||||||
for (let i = 0, len = pairs.length; i < len; i++) {
|
for (let i = 0, len = pairs.length; i < len; i++) {
|
||||||
const pair = pairs[i];
|
const pair = pairs[i];
|
||||||
const result = await Util.LBRY.abandonAllClaims(this.client, pair.lbryID);
|
const result = await Util.LBRY.abandonAllClaims(this.client, pair.lbryID);
|
||||||
|
|
Loading…
Add table
Reference in a new issue