Polling log

This commit is contained in:
austinkelsay 2024-11-08 10:57:58 -06:00
parent 6e415ce7f2
commit 6978fb06dd
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02

View File

@ -80,6 +80,7 @@ export default async function handler(req, res) {
let attempts = 0;
const pollInterval = setInterval(async () => {
try {
console.log('Polling for invoice', attempts);
const pollResponse = await axios.get(`${BACKEND_URL}/api/invoices/polling`, {
headers: {
'Authorization': PLEBDEVS_API_KEY