mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 06:02:46 +00:00
redundant variable
This commit is contained in:
@@ -139,8 +139,7 @@ app.get('/download/:id', asyncHandler(async (req, res)=>{
|
|||||||
'Content-Type' : 'text/plain',
|
'Content-Type' : 'text/plain',
|
||||||
'Content-Disposition' : `attachment; filename="${fileName}.txt"`
|
'Content-Disposition' : `attachment; filename="${fileName}.txt"`
|
||||||
});
|
});
|
||||||
const text = brew.text;
|
res.status(200).send(brew.text);
|
||||||
res.status(200).send(text);
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
//User Page
|
//User Page
|
||||||
|
|||||||
Reference in New Issue
Block a user