fix accidentally reporting deleted withdrawals
This commit is contained in:
parent
e08fca15b6
commit
0d5ef11b1e
|
@ -131,6 +131,7 @@ export default {
|
||||||
COALESCE("msatsPaid", "msatsPaying") as msats,
|
COALESCE("msatsPaid", "msatsPaying") as msats,
|
||||||
'withdrawal' as type,
|
'withdrawal' as type,
|
||||||
jsonb_build_object(
|
jsonb_build_object(
|
||||||
|
'bolt11', bolt11,
|
||||||
'status', COALESCE(status::text, 'PENDING'),
|
'status', COALESCE(status::text, 'PENDING'),
|
||||||
'msatsFee', COALESCE("msatsFeePaid", "msatsFeePaying")) as other
|
'msatsFee', COALESCE("msatsFeePaid", "msatsFeePaying")) as other
|
||||||
FROM "Withdrawl"
|
FROM "Withdrawl"
|
||||||
|
|
Loading…
Reference in New Issue