Style fixes

This commit is contained in:
2023-06-19 00:41:57 +03:00
parent 9adcd2ab62
commit e88bdf2b92
11 changed files with 196 additions and 50 deletions

View File

@@ -313,7 +313,7 @@ const client = new MongoClient(process.env.URI, { useUnifiedTopology: true });
});
emitter.on("end", () => {
res.write(`event: end\n\n`);
res.write(`data: {}\nevent: end\n\n`);
res.end();
})