diff --git a/source/server/routes/scenes/put/document.ts b/source/server/routes/scenes/put/document.ts index 916ba493..c7786c31 100644 --- a/source/server/routes/scenes/put/document.ts +++ b/source/server/routes/scenes/put/document.ts @@ -38,12 +38,10 @@ export default async function handlePutDocument(req :Request, res :Response){ const docDiff = merge.diffDoc(refDoc, newDoc); if(Object.keys(docDiff).length == 0){ - console.log("PUT document: Nothing to do"); //Nothing to do return res.status(204).send(); } - console.log("PUT document (merge): ", JSON.stringify(docDiff, null, 2)); const mergedDoc = merge.applyDoc(currentDoc, docDiff); let s = JSON.stringify(mergedDoc); let id = await tr.writeDoc(s, scene, uid);