mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-19 07:42:42 +00:00
Merge pull request #4272 from naturalcrit/RemoveTextBinFromSaveResponse
Don't send full text back to client on save
This commit is contained in:
@@ -412,6 +412,8 @@ const api = {
|
|||||||
const after = await afterSave();
|
const after = await afterSave();
|
||||||
if(!after) return;
|
if(!after) return;
|
||||||
|
|
||||||
|
saved.textBin = undefined; // Remove textBin from the saved object to save bandwidth
|
||||||
|
|
||||||
res.status(200).send(saved);
|
res.status(200).send(saved);
|
||||||
},
|
},
|
||||||
deleteGoogleBrew : async (account, id, editId, res)=>{
|
deleteGoogleBrew : async (account, id, editId, res)=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user