From 0d5ef11b1ecd6d9e6349039b7c92a379d7559b51 Mon Sep 17 00:00:00 2001 From: keyan Date: Fri, 8 Dec 2023 19:21:46 -0600 Subject: [PATCH] fix accidentally reporting deleted withdrawals --- api/resolvers/wallet.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/resolvers/wallet.js b/api/resolvers/wallet.js index 45bc8f02..5e0eb142 100644 --- a/api/resolvers/wallet.js +++ b/api/resolvers/wallet.js @@ -131,6 +131,7 @@ export default { COALESCE("msatsPaid", "msatsPaying") as msats, 'withdrawal' as type, jsonb_build_object( + 'bolt11', bolt11, 'status', COALESCE(status::text, 'PENDING'), 'msatsFee', COALESCE("msatsFeePaid", "msatsFeePaying")) as other FROM "Withdrawl"