Fix on polling endpoint

This commit is contained in:
austinkelsay 2024-11-07 14:38:42 -06:00
parent 81e064401f
commit ddc1e1b9ec
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02

View File

@ -72,7 +72,7 @@ export default async function handler(req, res) {
const preimage = Buffer.from(response.data.r_preimage, 'base64').toString('hex');
// Parse and prepare zap receipt
const parsedZapRequest = JSON.parse(zapRequest);
const parsedZapRequest = zapRequest;
const zapReceipt = {
kind: 9735,
created_at: Math.floor(Date.now() / 1000),