Use /api/4 on nodes for /api/1 channel search

This commit is contained in:
Dominik Werder
2021-06-22 13:27:43 +02:00
parent c8c81470fc
commit 5219b56488
6 changed files with 253 additions and 59 deletions

View File

@@ -44,7 +44,8 @@ pub async fn search_channel(
None => vec![],
};
let k = ChannelSearchSingleResult {
backend: row.get(7),
backend: node_config.node.backend.clone(),
//backend: row.get(7),
name: row.get(1),
source: row.get(2),
ty: row.get(3),