diff --git a/routes/admin/adminData.js b/routes/admin/adminData.js index 630f702..7372a00 100644 --- a/routes/admin/adminData.js +++ b/routes/admin/adminData.js @@ -231,7 +231,7 @@ adminRouter.get('/csv-action/gen-locker-csv', async (req, res, next) => { res.status(500).send('Error downloading file'); } }); - }, 500); //add a delay to prevent fuck-ups + }, 100); //a delay to prevent fuck-ups } catch (error) { next(error); @@ -250,7 +250,7 @@ adminRouter.get('/csv-action/gen-user-csv', async (req, res, next) => { res.status(500).send('Error downloading file'); } }); - }, 500); //add a delay to prevent fuck-ups + }, 100); //a delay to prevent fuck-ups } catch (error) { next(error);