mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Polling log
This commit is contained in:
parent
6e415ce7f2
commit
6978fb06dd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user