mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-26 10:57:47 +02:00
fix: improve token management
This commit is contained in:
@@ -48,6 +48,13 @@ router.post(
|
||||
|
||||
const archive = archiver("zip", {});
|
||||
downloadStream
|
||||
.on("error", (error) => {
|
||||
console.error(error);
|
||||
archive.finalize();
|
||||
})
|
||||
.on("close", () => {
|
||||
archive.finalize();
|
||||
})
|
||||
.pipe(Parse())
|
||||
.on("entry", (entry) => {
|
||||
if (entry.type === "File") {
|
||||
|
||||
Reference in New Issue
Block a user