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,
|
||||
'withdrawal' as type,
|
||||
jsonb_build_object(
|
||||
'bolt11', bolt11,
|
||||
'status', COALESCE(status::text, 'PENDING'),
|
||||
'msatsFee', COALESCE("msatsFeePaid", "msatsFeePaying")) as other
|
||||
FROM "Withdrawl"
|
||||
|
|
Loading…
Reference in New Issue