mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +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-Disposition' : `attachment; filename="${fileName}.txt"`
|
||||
});
|
||||
const text = brew.text;
|
||||
res.status(200).send(text);
|
||||
res.status(200).send(brew.text);
|
||||
}));
|
||||
|
||||
//User Page
|
||||
|
||||
Reference in New Issue
Block a user