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

This commit is contained in:
nymkappa committed 2022-08-10 15:09:34 +02:00
1 parent 8591c324fd
commit 7cc24d1a50
3 files changed
+3 -7

No files matched your search

+1 -1
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