From 3ec8f769133726ca6aa011f3ef3a93e4b3750af5 Mon Sep 17 00:00:00 2001 From: Sebastien DUMETZ Date: Mon, 12 Feb 2024 10:32:41 +0100 Subject: [PATCH] cleanup PUT request logs --- source/server/routes/scenes/put/document.ts | 2 -- 1 file changed, 2 deletions(-) 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);