diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/notifications.ts b/lib/notifications.ts index 0c890c07..528ac0ae 100644 --- a/lib/notifications.ts +++ b/lib/notifications.ts @@ -96,8 +96,8 @@ export const nwcNotify = async (p) => { payment_hash: payment_hash, amount: Math.abs(p.amount) * 1000, fees_paid: (parseInt(p.fee) || 0) * 1000, - created_at: p.created, - settled_at: p.created, + created_at: Math.round(p.created / 1000), + settled_at: Math.round(p.created / 1000), }; const payload = JSON.stringify({ |
