From e751f9a25cbed1e29ca558d3b646df23242f66d5 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Fri, 17 Feb 2023 17:42:56 +1300 Subject: [PATCH] Remove mocking function from homebrew.api.js --- server/homebrew.api.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/homebrew.api.js b/server/homebrew.api.js index afbabdc40..228a08128 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -323,7 +323,6 @@ If you believe you should have access to this brew, ask the file owner to invite // Without it, starting with an array of ['A', 'B', 'C'] in the database: // - when reduced to ['A', 'B'] will result in ['A', 'B', 'C'] saved in the database // - when reduced to ['B', 'C'] will result in ['B', 'C', 'C'] saved in the database - if(!brew.markModified) { brew.markModified = ()=>{return true;}; }; brew.markModified('authors'); await brew.save() .catch((err)=>{