Skip to content

Commit

Permalink
Fix Clone to New broken with naturalcrit#2114
Browse files Browse the repository at this point in the history
  • Loading branch information
calculuschild committed Jun 9, 2022
1 parent 204b379 commit 5601b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ app.get('/edit/:id', asyncHandler(getBrew('edit')), (req, res, next)=>{
app.get('/new/:id', asyncHandler(getBrew('share')), (req, res, next)=>{
sanitizeBrew(req.brew, 'share');
splitTextStyleAndMetadata(req.brew);
req.brew.title = `CLONE - ${brew.title}`;
req.brew.title = `CLONE - ${req.brew.title}`;
return next();
});

Expand Down

0 comments on commit 5601b93

Please sign in to comment.