Convert short_id to integer id with clightning backend before returning the graph

This commit is contained in:
nymkappa
2022-08-10 15:09:34 +02:00
parent 7012a480e8
commit 48a0a6c7e3
3 changed files with 3 additions and 7 deletions

View File

@@ -420,7 +420,7 @@ class ChannelsApi {
const result = await DB.query<ResultSetHeader>(`
UPDATE channels
SET status = 0
WHERE short_id NOT IN (
WHERE id NOT IN (
${graphChannelsIds.map(id => `"${id}"`).join(',')}
)
AND status != 2