Fix "cannot update channel list" error
This commit is contained in:
parent
7fe9029a4e
commit
73d2930230
@ -98,7 +98,7 @@ class NetworkSyncService {
|
|||||||
const [closedChannelsRaw]: any[] = await DB.query(`SELECT id FROM channels WHERE status = 2`);
|
const [closedChannelsRaw]: any[] = await DB.query(`SELECT id FROM channels WHERE status = 2`);
|
||||||
const closedChannels = {};
|
const closedChannels = {};
|
||||||
for (const closedChannel of closedChannelsRaw) {
|
for (const closedChannel of closedChannelsRaw) {
|
||||||
closedChannels[Common.channelShortIdToIntegerId(closedChannel.id)] = true;
|
closedChannels[closedChannel.id] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
let progress = 0;
|
let progress = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user