mirror of
https://github.com/colanode/colanode.git
synced 2025-12-29 00:25:03 +01:00
Fix the query for retreiving unsynced transactions
This commit is contained in:
@@ -188,7 +188,7 @@ class SynapseService {
|
||||
|
||||
let query = database
|
||||
.selectFrom('node_transactions as nt')
|
||||
.leftJoin('collaborations as c', (join) =>
|
||||
.innerJoin('collaborations as c', (join) =>
|
||||
join.on('c.user_id', '=', userId).onRef('c.node_id', '=', 'nt.node_id')
|
||||
)
|
||||
.selectAll('nt');
|
||||
|
||||
Reference in New Issue
Block a user