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"