From 01ee79b02259ead8609d8a426c07977741a94b6d Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Mon, 21 Dec 2020 16:16:05 -0500 Subject: [PATCH] Fix syntax in SQL --- web/src/chainquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/chainquery.js b/web/src/chainquery.js index e3f68ffdc..f8342ef67 100644 --- a/web/src/chainquery.js +++ b/web/src/chainquery.js @@ -31,7 +31,7 @@ module.exports.getClaim = async function getClaim(claimName, claimId, channelNam 'FROM claim ' + 'LEFT JOIN claim channel_claim on claim.publisher_id = channel_claim.claim_id ' + 'LEFT JOIN claim as reposted_claim on reposted_claim.claim_id = claim.claim_reference ' + - 'AND (reposted_claim.bid_state in ("controlling", "active", "accepted", "spent") ' + + 'AND (reposted_claim.bid_state in ("controlling", "active", "accepted", "spent")) ' + 'LEFT JOIN claim as repost_channel on repost_channel.claim_id = reposted_claim.publisher_id ' + 'WHERE claim.name = ?';