Skip to content

Commit

Permalink
csv export final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Jul 20, 2024
1 parent 5e092e1 commit ac5010a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/admin/adminData.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit ac5010a

Please sign in to comment.