mirror of
https://github.com/documenso/documenso.git
synced 2025-11-18 10:42:01 +10:00
🎨 🧹
This commit is contained in:
@ -48,8 +48,7 @@ async function getHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
`attachment; filename=${document.title}`
|
||||
);
|
||||
|
||||
res.status(200).send(buffer);
|
||||
return;
|
||||
return res.status(200).send(buffer);
|
||||
}
|
||||
|
||||
async function deleteHandler(req: NextApiRequest, res: NextApiResponse) {
|
||||
|
||||
Reference in New Issue
Block a user